On 9/7/2017 12:18 AM, hamann.w@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