Content-Length: 291705 | pFad | http://github.com/postgrespro/postgres/commit/ac1c7458b17633d1e53a01393d12774c10cb6a91

BE Fix quoting of ACL item in table for upgrade binary compatibility checks · postgrespro/postgres@ac1c745 · GitHub
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/ac1c7458b17633d1e53a01393d12774c10cb6a91

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy