Skip to content

Commit 82bb97e

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 a999341 commit 82bb97e

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
@@ -668,7 +668,7 @@ CREATE TABLE tab_core_types AS SELECT
668668
'abc'::refcursor,
669669
'1 2'::int2vector,
670670
'1 2'::oidvector,
671-
format('%s=UC/%s', USER, USER)::aclitem,
671+
format('%I=UC/%I', USER, USER)::aclitem AS aclitem,
672672
'a fat cat sat on a mat and ate a fat rat'::tsvector,
673673
'fat & rat'::tsquery,
674674
'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
@@ -505,7 +505,7 @@ CREATE TABLE tab_core_types AS SELECT
505505
'abc'::refcursor,
506506
'1 2'::int2vector,
507507
'1 2'::oidvector,
508-
format('%s=UC/%s', USER, USER)::aclitem,
508+
format('%I=UC/%I', USER, USER)::aclitem AS aclitem,
509509
'a fat cat sat on a mat and ate a fat rat'::tsvector,
510510
'fat & rat'::tsquery,
511511
'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid,

0 commit comments

Comments
 (0)