Building a list of fields ? - Mailing list pgsql-admin

From David.Jacques@CCRS.NRCan.gc.ca
Subject Building a list of fields ?
Date
Msg-id B7F9814D6850C949947CF8DEA13477810207AB89@s5-ccr-r2.ccrs.nrcan.gc.ca
Whole thread Raw
Responses Re: Building a list of fields ?
List pgsql-admin
I'm trying to make a generic function  InsertValues().

In order to do this (cleanly) I need to construct a field list from
the table name passed in as an argument. However I see no libpq function
to return the field names of a table. Does such a thing exist ?

I thought I was on to something by using the pg_attribute system table,
 but there is no field to relate a column to its table.



pgsql-admin by date:

Previous
From: Düster Horst
Date:
Subject: Privileges where not restored
Next
From: Michael Fuhr
Date:
Subject: Re: Building a list of fields ?