Skip to content

Commit 836f634

Browse files
committed
Fix collation dependency in test introduced in 8586bf7.
Per buildfarm.
1 parent 3b925e9 commit 836f634

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/regress/expected/create_am.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ SELECT
173173
(SELECT 'toast for ' || relname::regclass FROM pg_class pcm WHERE pcm.reltoastrelid = pc.oid)
174174
ELSE
175175
relname::regclass::text
176-
END AS relname
176+
END COLLATE "C" AS relname
177177
FROM pg_class AS pc,
178178
pg_am AS pa
179179
WHERE pa.oid = pc.relam
@@ -183,8 +183,8 @@ ORDER BY 3, 1, 2;
183183
---------+--------+----------------------------------
184184
r | heap2 | tableam_parted_b_heap2
185185
r | heap2 | tableam_parted_d_heap2
186-
r | heap2 | tableam_tblas_heap2
187186
r | heap2 | tableam_tbl_heap2
187+
r | heap2 | tableam_tblas_heap2
188188
m | heap2 | tableam_tblmv_heap2
189189
t | heap2 | toast for tableam_parted_b_heap2
190190
t | heap2 | toast for tableam_parted_d_heap2

src/test/regress/sql/create_am.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ SELECT
123123
(SELECT 'toast for ' || relname::regclass FROM pg_class pcm WHERE pcm.reltoastrelid = pc.oid)
124124
ELSE
125125
relname::regclass::text
126-
END AS relname
126+
END COLLATE "C" AS relname
127127
FROM pg_class AS pc,
128128
pg_am AS pa
129129
WHERE pa.oid = pc.relam

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy