Skip to content

Commit ac1c745

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 835bcba commit ac1c745

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/regress/expected/type_sanity.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ CREATE TABLE tab_core_types AS SELECT
713713
'abc'::refcursor,
714714
'1 2'::int2vector,
715715
'1 2'::oidvector,
716-
format('%s=UC/%s', USER, USER)::aclitem,
716+
format('%I=UC/%I', USER, USER)::aclitem AS aclitem,
717717
'a fat cat sat on a mat and ate a fat rat'::tsvector,
718718
'fat & rat'::tsquery,
719719
'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid,

src/test/regress/sql/type_sanity.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ CREATE TABLE tab_core_types AS SELECT
535535
'abc'::refcursor,
536536
'1 2'::int2vector,
537537
'1 2'::oidvector,
538-
format('%s=UC/%s', USER, USER)::aclitem,
538+
format('%I=UC/%I', USER, USER)::aclitem AS aclitem,
539539
'a fat cat sat on a mat and ate a fat rat'::tsvector,
540540
'fat & rat'::tsquery,
541541
'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid,

0 commit comments

Comments
 (0)