| From: | The Web Administrator <wwwadmin(at)wizard(dot)ca> |
|---|---|
| To: | Jeffrey Napolitano <jnapoli(at)setech(dot)com> |
| Cc: | General Questions for PostgreSQL <pgsql-general(at)postgreSQL(dot)org> |
| Subject: | Re: [GENERAL] Command for getting columns |
| Date: | 1998-08-01 16:34:03 |
| Message-ID: | 35C3437B.5432C5EF@wizard.ca |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Look at the man libpq for nfield function, or in perldoc Pg for the same
Jeffrey Napolitano wrote:
> I want to get the names of the columns in a table ... I know I can get
> it through "\d" in the interactive monitor, but when accessing the
> databases non-interactively, how can I get the names of the columns?
>
> ------------------
> Jeffrey Napolitano
> Lowly Intern
> Software Emancipation Technology
--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Michael - System Administrator Working in Cheap Canadian
Dollars
Unix Administration - WebSite Hosting - Network Services - Programming
Wizard Internet Services - TechnoWizard Computers - Wizard Tower
TechnoServices
------------------------------------------------------------------------------
(604) 589-0037 Beautiful British Columbia, Canada
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Roland Roberts | 1998-08-01 19:16:36 | PostgreSQL connect options? |
| Previous Message | G.Elangovan | 1998-08-01 00:15:17 | Authentication Problems |