pgsql: Change pg_listener attribute number constants to match the usual

Lists: pgsql-committers
From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change pg_listener attribute number constants to match the usual
Date: 2009-07-21 20:24:51
Message-ID: [email protected]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

Log Message:
-----------
Change pg_listener attribute number constants to match the usual pattern

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. This change fixes that.

Author: Robert Haas <robertmhaas(at)gmail(dot)com>

Modified Files:
--------------
pgsql/src/backend/commands:
async.c (r1.147 -> r1.148)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/async.c?r1=1.147&r2=1.148)
pgsql/src/include/catalog:
pg_listener.h (r1.25 -> r1.26)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_listener.h?r1=1.25&r2=1.26)