pg_listener attribute number #defines

Started by Robert Haasalmost 17 years ago2 messageshackers
Jump to latest
#1Robert Haas
robertmhaas@gmail.com

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
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Robert Haas (#1)
Re: pg_listener attribute number #defines

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.