Re: mysql_field_name equivalent - Mailing list pgsql-novice

From CoL
Subject Re: mysql_field_name equivalent
Date
Msg-id bsuqqv$7n9$2@news.hub.org
Whole thread Raw
In response to mysql_field_name equivalent  ("Mace, Richard" <richard.mace@Lorien.co.uk>)
List pgsql-novice
Hi,

Mace, Richard wrote, On 12/31/2003 12:59 PM:

> Is there a PostgreSQL equivalent command to the mysql_field_name command above?
>
> I am running a select query (7.2) and would like to get the name of the columns I am selecting
> too, in order to output a header line to an external file, with the result of the select.
>
> Has anyone done this or similar?

you probably want this from php. Better to use, ask at
comp.databases.postgresql.interfaces.php for php related questions.

try the php documentation and check: pg_field_name

C.

pgsql-novice by date:

Previous
From: gavaneh
Date:
Subject: install
Next
From: Dan Jewett
Date:
Subject: Timestamp vs. Interval and formatting....