Re: SELECT composite type
От
Niklas Johansson
Тема
Re: SELECT composite type
Дата
Msg-id
40485D0C-8C3A-4206-9825-3A459934F356@tele2.se
Ответ на
SELECT composite type (Michael Burke)
Список
Дерево обсуждения
SELECT composite type Michael Burke <michael@engtech.ca>
Re: SELECT composite type Niklas Johansson <spot@tele2.se>
Re: SELECT composite type Tom Lane <tgl@sss.pgh.pa.us>
Re: SELECT composite type Michael Burke <michael@engtech.ca>
Re: SELECT composite type Markus Schaber <schabi@logix-tt.com>
On 5 apr 2006, at 17.57, Michael Burke wrote: > So I basically want to call get_xy for every row in > sightings, and use its output for two columns; or perhaps there is > another > way to think of this. You could try SELECT foo.x, foo.y, title FROM (SELECT get_xy(SetSRID(sightings.location, 26910), 4326) AS foo, sightings.title FROM sightings WHERE sighting_id = 25) bar; Sincerely, Niklas Johansson
В списке pgsql-sql по дате отправления