> I need to extract a SETOF column names for a table in plpgsql. How is this
> done?
Start up psql with the -E option. Then type "\dt tablename". This will
print out the SQL that psql runs to give you the column names. Maybe that
will do what you want?
-philip