Add some multi-character strings to test sorting of German umlauts
This commit is contained in:
parent
7ddbb84dec
commit
de9cf8fb8a
|
@ -14,6 +14,8 @@ for c in range(1, 0xD800):
|
||||||
csr.execute("insert into t_pgcollate(t) values(%s)", (chr(c),))
|
csr.execute("insert into t_pgcollate(t) values(%s)", (chr(c),))
|
||||||
for c in range(0xE000, 0x110000):
|
for c in range(0xE000, 0x110000):
|
||||||
csr.execute("insert into t_pgcollate(t) values(%s)", (chr(c),))
|
csr.execute("insert into t_pgcollate(t) values(%s)", (chr(c),))
|
||||||
|
for s in ('asa', 'asb', 'assa', 'aßa', 'ata', 'bab', 'bäb', 'bac', ):
|
||||||
|
csr.execute("insert into t_pgcollate(t) values(%s)", (s,))
|
||||||
db.commit()
|
db.commit()
|
||||||
csr.execute("select * from t_pgcollate order by t")
|
csr.execute("select * from t_pgcollate order by t")
|
||||||
for r in csr:
|
for r in csr:
|
||||||
|
|
Loading…
Reference in New Issue