Tom Lane wrote:
Andrew Dunstan <[EMAIL PROTECTED]> writes:
What is the approved way to iterate over a relation's attributes?

Most places scan through the relation's tuple descriptor, rather
than expending multiple catalog lookups in pg_attribute.

        

Doesn't that require me to open the relation? Is that a good thing if I wouldn't otherwise be doing that?

This is in the context of making CheckAttributeType recurse into composite types.

cheers

andrew

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to