Andrew Dunstan <andrew@dunslane.net> 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.
regards, tom lane