Re: insert rule doesn't see id field

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: insert rule doesn't see id field
Дата
Msg-id 6335.1042496169@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: insert rule doesn't see id field  (Ron Peterson <rpeterso@mtholyoke.edu>)
Список 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 по дате отправления:

Предыдущее
От: Ron Peterson
Дата:
Сообщение: Re: insert rule doesn't see id field
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Postgresql Bug List?