Re: insert rule doesn't see id field - Mailing list pgsql-sql

From Tom Lane
Subject Re: insert rule doesn't see id field
Date
Msg-id 6335.1042496169@sss.pgh.pa.us
Whole thread Raw
In response to Re: insert rule doesn't see id field  (Ron Peterson <rpeterso@mtholyoke.edu>)
List pgsql-sql
Ron Peterson <rpeterso@mtholyoke.edu> writes:
> I can find out this info
> for the relation pulling the trigger easy enought, but how would I go
> about getting this info when all I have is the table/field name?  I
> could create and execute a SQL query something like the following, but
> is that really the way to get at this info in C code?

Open the target relation and examine its tuple descriptor ...
        regards, tom lane


pgsql-sql by date:

Previous
From: Ron Peterson
Date:
Subject: Re: insert rule doesn't see id field
Next
From: Bruce Momjian
Date:
Subject: Re: Postgresql Bug List?