Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 863aa55

Browse files
committed
Fix collation dependency in test introduced in 8586bf7, take 2.
Per buildfarm. This time I hopefully actually made sure to get all the cases...
1 parent 836f634 commit 863aa55

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/regress/expected/create_am.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ SELECT
232232
(SELECT 'toast for ' || relname::regclass FROM pg_class pcm WHERE pcm.reltoastrelid = pc.oid)
233233
ELSE
234234
relname::regclass::text
235-
END AS relname
235+
END COLLATE "C" AS relname
236236
FROM pg_class AS pc
237237
LEFT JOIN pg_am AS pa ON (pa.oid = pc.relam)
238238
WHERE pc.relname LIKE 'tableam_%_heapx'
@@ -244,8 +244,8 @@ ORDER BY 3, 1, 2;
244244
r | heap | tableam_parted_2_heapx
245245
p | | tableam_parted_heapx
246246
S | | tableam_seq_heapx
247-
r | heap2 | tableam_tblas_heapx
248247
r | heap2 | tableam_tbl_heapx
248+
r | heap2 | tableam_tblas_heapx
249249
m | heap2 | tableam_tblmv_heapx
250250
r | heap2 | tableam_tblselectinto_heapx
251251
v | | tableam_view_heapx

src/test/regress/sql/create_am.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ SELECT
169169
(SELECT 'toast for ' || relname::regclass FROM pg_class pcm WHERE pcm.reltoastrelid = pc.oid)
170170
ELSE
171171
relname::regclass::text
172-
END AS relname
172+
END COLLATE "C" AS relname
173173
FROM pg_class AS pc
174174
LEFT JOIN pg_am AS pa ON (pa.oid = pc.relam)
175175
WHERE pc.relname LIKE 'tableam_%_heapx'

0 commit comments

Comments
 (0)