.. highlightlang:: us .. _pq_fname: pq_fname ======== .. index:: pq_fname .. us.tag pq_fname NOTREADYENGLISH New550 postgres :ref:`pq_fname` returns a column name of a query result. .. function:: ssName = pq_fname(res, iCol) .. us.return **Return Value** *ssName* is the column name. .. us.params **Parameters** .. uparam:: res *res* is the res pointer returned by :ref:`pq_exec`. .. uparam:: iCol *iCol* is the column index. .. us.example **Example** See :ref:`pq_exec` for an example. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.5.0 - New .. seealso:: :ref:`overview-postgresql` :sub:`id-1061202`