]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Avoid naming conflict between transactions.sql and namespace.sql.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 19 May 2023 14:57:46 +0000 (10:57 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 19 May 2023 14:57:46 +0000 (10:57 -0400)
commit6f1cf2efbd0199c58db9f256ade48f42f56cab49
treecebfa849d8238d24a964bfdaa814b5e2a9f3fb15
parentfc7dc728d1a68dd67afc9795fd65b8a8d412244d
Avoid naming conflict between transactions.sql and namespace.sql.

Commits 681d9e462 et al added a test case in namespace.sql that
implicitly relied on there not being a table "public.abc".
However, the concurrently-run transactions.sql test creates precisely
such a table, so with the right timing you'd get a failure.
Creating a table named as generically as "abc" in a common schema
seems like bad practice, so fix this by changing the name of
transactions.sql's table.  (Compare 2cf8c7aa4.)

Marina Polyakova

Discussion: https://postgr.es/m/80d0201636665d82185942e7112257b4@postgrespro.ru
src/test/regress/expected/transactions.out
src/test/regress/sql/transactions.sql