pg_listener attribute number #defines
It appears that, for no particularly good reason, pg_listener.h
deviates from the usual convention for declaring attribute number
constants. Normally, it's
#define Anum_{catalog-name}_{column-name} {attribute-number}
pg_listener.h, however substitutes a different string that is similar,
but not the same as, the column name.
Suggested patch attached.
...Robert
Attachments:
anum_pg_listener.patchtext/x-diff; charset=US-ASCII; name=anum_pg_listener.patchDownload+20-20
On Wednesday 24 June 2009 08:09:57 Robert Haas wrote:
It appears that, for no particularly good reason, pg_listener.h
deviates from the usual convention for declaring attribute number
constants. Normally, it's#define Anum_{catalog-name}_{column-name} {attribute-number}
pg_listener.h, however substitutes a different string that is similar,
but not the same as, the column name.Suggested patch attached.
Fixed.