hi.
....
modules/test_ddl_deparse/test_ddl_deparse.so.p/test_ddl_deparse.c.o -c
../../Desktop/pg_src/src7/postgres/src/test/modules/test_ddl_deparse/test_ddl_deparse.c
../../Desktop/pg_src/src7/postgres/src/test/modules/test_ddl_deparse/test_ddl_deparse.c:
In function ‘get_altertable_subcmdinfo’:
../../Desktop/pg_src/src7/postgres/src/test/modules/test_ddl_deparse/test_ddl_deparse.c:111:17:
error: enumeration value ‘AT_SetIndexVisible’ not handled in switch
[-Werror=switch]
  111 |                 switch (subcmd->subtype)
      |                 ^~~~~~
../../Desktop/pg_src/src7/postgres/src/test/modules/test_ddl_deparse/test_ddl_deparse.c:111:17:
error: enumeration value ‘AT_SetIndexInvisible’ not handled in switch
[-Werror=switch]
cc1: all warnings being treated as errors


so we need to change test_ddl_deparse.c.
The attached patch fixes the indentation and test_ddl_deparse.c issue.
Maybe we can add some tests on src/test/modules/test_ddl_deparse.

Attachment: v10-0001-minor-indentation-fix.no-cfbot
Description: Binary data

Reply via email to