"Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)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