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

Commit 2b01cbe

Browse files
committed
Alter the regression test cases that rely on the sort order of "ch" between
"cg" and "ci". This eliminates a test failure on the following glibc locales: br_FR, cs_CZ, cy_GB, es_EC, es_US, hsb_DE, ig_NG, ik_CA, sk_SK.
1 parent 0d8c613 commit 2b01cbe

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/test/regress/expected/rules.out

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,9 @@ select * from rtest_admin;
403403
--
404404
-- Rule qualification test
405405
--
406-
insert into rtest_emp values ('wiech', '5000.00');
406+
insert into rtest_emp values ('wiecc', '5000.00');
407407
insert into rtest_emp values ('gates', '80000.00');
408-
update rtest_emp set ename = 'wiecx' where ename = 'wiech';
408+
update rtest_emp set ename = 'wiecx' where ename = 'wiecc';
409409
update rtest_emp set ename = 'wieck', salary = '6000.00' where ename = 'wiecx';
410410
update rtest_emp set salary = '7000.00' where ename = 'wieck';
411411
delete from rtest_emp where ename = 'gates';
@@ -414,7 +414,7 @@ select ename, who = current_user as "matches user", action, newsal, oldsal from
414414
----------------------+--------------+------------+------------+------------
415415
gates | t | fired | $0.00 | $80,000.00
416416
gates | t | hired | $80,000.00 | $0.00
417-
wiech | t | hired | $5,000.00 | $0.00
417+
wiecc | t | hired | $5,000.00 | $0.00
418418
wieck | t | honored | $6,000.00 | $5,000.00
419419
wieck | t | honored | $7,000.00 | $6,000.00
420420
(5 rows)
@@ -431,7 +431,7 @@ select ename, who = current_user as "matches user", action, newsal, oldsal from
431431
maier | t | hired | $5,000.00 | $0.00
432432
mayr | t | hired | $6,000.00 | $0.00
433433
meyer | t | hired | $4,000.00 | $0.00
434-
wiech | t | hired | $5,000.00 | $0.00
434+
wiecc | t | hired | $5,000.00 | $0.00
435435
wieck | t | honored | $6,000.00 | $5,000.00
436436
wieck | t | honored | $7,000.00 | $6,000.00
437437
(8 rows)
@@ -449,7 +449,7 @@ select ename, who = current_user as "matches user", action, newsal, oldsal from
449449
mayr | t | honored | $7,000.00 | $6,000.00
450450
meyer | t | hired | $4,000.00 | $0.00
451451
meyer | t | honored | $5,000.00 | $4,000.00
452-
wiech | t | hired | $5,000.00 | $0.00
452+
wiecc | t | hired | $5,000.00 | $0.00
453453
wieck | t | honored | $6,000.00 | $5,000.00
454454
wieck | t | honored | $7,000.00 | $6,000.00
455455
(11 rows)
@@ -469,7 +469,7 @@ select ename, who = current_user as "matches user", action, newsal, oldsal from
469469
meyer | t | fired | $0.00 | $5,000.00
470470
meyer | t | hired | $4,000.00 | $0.00
471471
meyer | t | honored | $5,000.00 | $4,000.00
472-
wiech | t | hired | $5,000.00 | $0.00
472+
wiecc | t | hired | $5,000.00 | $0.00
473473
wieck | t | honored | $6,000.00 | $5,000.00
474474
wieck | t | honored | $7,000.00 | $6,000.00
475475
(14 rows)

src/test/regress/sql/rules.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ select * from rtest_admin;
273273
--
274274
-- Rule qualification test
275275
--
276-
insert into rtest_emp values ('wiech', '5000.00');
276+
insert into rtest_emp values ('wiecc', '5000.00');
277277
insert into rtest_emp values ('gates', '80000.00');
278-
update rtest_emp set ename = 'wiecx' where ename = 'wiech';
278+
update rtest_emp set ename = 'wiecx' where ename = 'wiecc';
279279
update rtest_emp set ename = 'wieck', salary = '6000.00' where ename = 'wiecx';
280280
update rtest_emp set salary = '7000.00' where ename = 'wieck';
281281
delete from rtest_emp where ename = 'gates';

0 commit comments

Comments
 (0)