Skip to content

Commit 49f2b11

Browse files
committed
Fix quoting of ACL item in table for upgrade binary compatibility checks
Per buildfarm member prion, that runs the regression tests under a role name that uses a hyphen. Issue introduced by 835bcba. Discussion: https://postgr.es/m/YZW4MvzCZ+hQ34vw@paquier.xyz Backpatch-through: 12
1 parent 755f04c commit 49f2b11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/regress/expected/type_sanity.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ CREATE TABLE tab_core_types AS SELECT
670670
'abc'::refcursor,
671671
'1 2'::int2vector,
672672
'1 2'::oidvector,
673-
format('%s=UC/%s', USER, USER)::aclitem,
673+
format('%I=UC/%I', USER, USER)::aclitem AS aclitem,
674674
'a fat cat sat on a mat and ate a fat rat'::tsvector,
675675
'fat & rat'::tsquery,
676676
'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid,

src/test/regress/sql/type_sanity.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ CREATE TABLE tab_core_types AS SELECT
507507
'abc'::refcursor,
508508
'1 2'::int2vector,
509509
'1 2'::oidvector,
510-
format('%s=UC/%s', USER, USER)::aclitem,
510+
format('%I=UC/%I', USER, USER)::aclitem AS aclitem,
511511
'a fat cat sat on a mat and ate a fat rat'::tsvector,
512512
'fat & rat'::tsquery,
513513
'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid,

0 commit comments

Comments
 (0)