pgsql: Fixups for a4f774cf1c7

Started by Andres Freund4 months ago1 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

Fixups for a4f774cf1c7

The database name was warned about when building with
-DENFORCE_REGRESSION_TEST_NAME_RESTRICTIONS, leading to BF and CI failures.

It is somewhat confusing that the required prefix is different for databases
than other object types.

Also fix a pgindent violation that caused koel to start to fail.

Discussion: /messages/by-id/ptyiexyhmtxf4lm524s7o7w64r26ra237uusv4tjav4yhpmeoo@vfwwllz7tivb

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6c7bce28c83f4deaa6a6205dc32e86ac1630182c

Modified Files
--------------
src/backend/utils/adt/ddlutils.c | 2 +-
src/test/regress/expected/database_ddl.out | 60 +++++++++++++++---------------
src/test/regress/sql/database_ddl.sql | 26 ++++++-------
3 files changed, 44 insertions(+), 44 deletions(-)