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