pgsql: Handle AT_ReAddComment in test_ddl_deparse, and add a catch-all

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Handle AT_ReAddComment in test_ddl_deparse, and add a catch-all
Date: 2015-07-20 07:45:47
Message-ID: E1ZH5lj-0002Co-B4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Handle AT_ReAddComment in test_ddl_deparse, and add a catch-all default.

In the passing, also move AT_ReAddComment to more logical position in the
enum, after all the Constraint-related subcommands.

This fixes a compiler warning, added by commit e42375fc. Backpatch to 9.5,
like that patch.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e66e31958fc5f5346394099a6481a7949cc1f02a

Modified Files
--------------
src/include/nodes/parsenodes.h | 2 +-
src/test/modules/test_ddl_deparse/test_ddl_deparse.c | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-07-20 07:47:31 Re: [COMMITTERS] pgsql: Retain comments on indexes and constraints at ALTER TABLE ... TY
Previous Message Andrew Dunstan 2015-07-19 17:21:01 pgsql: Remove dead code.