Обсуждение: pgsql: Handle AT_ReAddComment in test_ddl_deparse, and add a catch-all

Поиск
Список
Период
Сортировка

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

От
Heikki Linnakangas
Дата:
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(-)