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: (view raw, whole thread or download thread mbox)
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.


Attachment: anum_pg_listener.patch
Description: text/x-diff (4.1 KB)


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-2017 The PostgreSQL Global Development Group