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

From Heikki Linnakangas
Subject pgsql: Handle AT_ReAddComment in test_ddl_deparse, and add a catch-all
Date
Msg-id E1ZH5lj-0002Cn-Az@gemulon.postgresql.org
Whole thread Raw
List 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/13f2db2ffb2fac24fcb57ecc56e030e1145df127

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(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Remove dead code.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Handle AT_ReAddComment in test_ddl_deparse, and add a catch-all