Return Column Headers from SQL results (using PQfname)
Issue #8
new
Proposal to add a Get Column Headers function to the PQ Results class.
Using PQfname I have added this function to my local machine and it works as expected.
https://www.postgresql.org/docs/current/libpq-exec.html
PQfname Returns the column name associated with the given column number. Column numbers start at 0. The caller should not free the result directly. It will be freed when the associated PGresult handle is passed to PQclear.
char PQfname(const PGresult res, int column_number); NULL is returned if the column number is out of range.
Added and confirm it works in 32/64 bit LV