On 9/7/2017 12:18 AM, haman...@t-online.de wrote:
is there a simple way to retrieve column names from a query - basically the way 
psql adds
column headings when I do a select?

if you're using libpq to do your queries, PQfname(*result, column_number) returns the name of that column number.

there are equivalent functions in most other APIs.


--
john r pierce, recycling bits in santa cruz



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to