Compare commits
2 Commits
de9cf8fb8a
...
1d007a9e8e
Author | SHA1 | Date |
---|---|---|
Peter J. Holzer | 1d007a9e8e | |
Peter J. Holzer | c5389e56a6 |
|
@ -16,6 +16,13 @@ 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', ):
|
for s in ('asa', 'asb', 'assa', 'aßa', 'ata', 'bab', 'bäb', 'bac', ):
|
||||||
csr.execute("insert into t_pgcollate(t) values(%s)", (s,))
|
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()
|
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