pg_listener attribute number #defines - Mailing list pgsql-hackers

From Robert Haas
Subject pg_listener attribute number #defines
Date
Msg-id 603c8f070906232209j74b1d559q28ca381ed49f7c69@mail.gmail.com
Whole thread Raw
Responses Re: pg_listener attribute number #defines  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: Extensions User Design
Next
From: Tom Lane
Date:
Subject: Re: that picksplit debug message again