Content-Length: 304681 | pFad | http://github.com/postgrespro/postgres/commit/863aa55624d891be57b54f8d12e61cb4fa9b70ef

58 Fix collation dependency in test introduced in 8586bf7ed8, take 2. · postgrespro/postgres@863aa55 · GitHub
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

Lines changed: 2 additions & 2 deletions
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

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








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/863aa55624d891be57b54f8d12e61cb4fa9b70ef

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy