Wieso, Simon, Du hast doch recht:
osm=# select id from planet_osm_ways where nodes @> array[123]::bigint[]; id --------- 5121760 (1 row)