pgsql: Change pg_listener attribute number constants to match the usual - Mailing list pgsql-committers

From petere@postgresql.org (Peter Eisentraut)
Subject pgsql: Change pg_listener attribute number constants to match the usual
Date
Msg-id 20090721202451.3197075331E@cvs.postgresql.org
Whole thread Raw
List 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@gmail.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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Speed up AllocSetFreeIndex, which is a significant cost in palloc
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Make pg_dump/pg_restore --clean options drop large objects too.