Compare commits

...

2 Commits

1 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,13 @@ for c in range(0xE000, 0x110000):
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,))
for s in ('aa', 'aa-', '-ab', '[ab]', '~ab', 'ab', ):
csr.execute("insert into t_pgcollate(t) values(%s)", (s,))
for s in (
'aa', 'aa ', 'a a', 'a a ', ' aa', ' aa ', ' a a', ' a a ',
'ab', 'ab ', 'a b', 'a b ', ' ab', ' ab ', ' a b', ' a b ',
):
csr.execute("insert into t_pgcollate(t) values(%s)", (s,))
db.commit()
csr.execute("select * from t_pgcollate order by t")
for r in csr: