pg_listener attribute number #defines
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
Re: pg_listener attribute number #defines
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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.