pg_listener attribute number #defines

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_listener attribute number #defines
Date: 2009-06-24 05:09:57
Message-ID: 603c8f070906232209j74b1d559q28ca381ed49f7c69@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
anum_pg_listener.patch text/x-diff 4.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-06-24 05:19:11 Re: that picksplit debug message again
Previous Message Jeremy Ford 2009-06-24 05:08:25 Re: BUG #4862: different results in to_date() between 8.3.7 & 8.4.RC1