On 9/7/2017 12:18 AM, hamann.w@xxxxxxxxxxx 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@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general