Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: anum_pg_listener.patch
Description: text/x-diff (4.1 KB)

Responses

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group