Re: Proper way of iterating over the column names in a trigger function. - Mailing list pgsql-sql

From Tom Lane
Subject Re: Proper way of iterating over the column names in a trigger function.
Date
Msg-id 25785.1165417336@sss.pgh.pa.us
Whole thread Raw
In response to Proper way of iterating over the column names in a trigger function.  ("Rajesh Kumar Mallah" <mallah.rajesh@gmail.com>)
List pgsql-sql
"Rajesh Kumar Mallah" <mallah.rajesh@gmail.com> writes:
> what is the proper way for iterating over column names of a table using
> SPI_* functions.

You need to pay attention to the attisdropped field of the TupleDesc
entries.
        regards, tom lane


pgsql-sql by date:

Previous
From: lucas@presserv.org
Date:
Subject: Count field in query
Next
From: Richard Ray
Date:
Subject: Query is fast and function is slow