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
This commit is contained in:
Michael Paquier 2021-11-18 12:53:06 +09:00
parent a9993416f8
commit 82bb97ed63
2 changed files with 2 additions and 2 deletions

View File

@ -668,7 +668,7 @@ CREATE TABLE tab_core_types AS SELECT
'abc'::refcursor,
'1 2'::int2vector,
'1 2'::oidvector,
format('%s=UC/%s', USER, USER)::aclitem,
format('%I=UC/%I', USER, USER)::aclitem AS aclitem,
'a fat cat sat on a mat and ate a fat rat'::tsvector,
'fat & rat'::tsquery,
'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid,

View File

@ -505,7 +505,7 @@ CREATE TABLE tab_core_types AS SELECT
'abc'::refcursor,
'1 2'::int2vector,
'1 2'::oidvector,
format('%s=UC/%s', USER, USER)::aclitem,
format('%I=UC/%I', USER, USER)::aclitem AS aclitem,
'a fat cat sat on a mat and ate a fat rat'::tsvector,
'fat & rat'::tsquery,
'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid,