mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Cleanup patch from Oleg.
This commit is contained in:
parent
afded8add3
commit
2d11676999
@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
1998 May 25
|
1998 Nov 20
|
||||||
|
|
||||||
I extended locale support. Now ORDER BY (if PostgreSQL configured with
|
I extended locale support. Now ORDER BY (if PostgreSQL configured with
|
||||||
--enable-locale) uses strcoll() for all text fields: char(n), varchar(n),
|
--enable-locale) uses strcoll() for all text fields: char(n), varchar(n),
|
||||||
text. (I am not sure about ORDER BY char2/char4/etc.)
|
text.
|
||||||
|
|
||||||
I included test suite .../src/test/locale. I didn't include this in
|
I included test suite .../src/test/locale. I didn't include this in
|
||||||
the regression test because not so much people require locale support. Read
|
the regression test because not so much people require locale support. Read
|
||||||
|
@ -30,4 +30,4 @@ clean:
|
|||||||
done
|
done
|
||||||
|
|
||||||
test-%: all
|
test-%: all
|
||||||
@cd `echo $@ | sed s/^test-//` && $(MAKE) test
|
@cd `echo $@ | sed 's/^test-//'` && $(MAKE) test
|
||||||
|
@ -41,7 +41,7 @@ for f in char varchar text; do
|
|||||||
|
|
||||||
destroydb testlocale >/dev/null 2>&1
|
destroydb testlocale >/dev/null 2>&1
|
||||||
createdb testlocale || abort "createdb failed"
|
createdb testlocale || abort "createdb failed"
|
||||||
psql -d testlocale -c "CREATE TABLE usastates (abbrev char2, name_en char(20), name_ru $ftype);" >/dev/null 2>&1 || abort "createtable failed"
|
psql -d testlocale -c "CREATE TABLE usastates (abbrev char(2), name_en char(20), name_ru $ftype);" >/dev/null 2>&1 || abort "createtable failed"
|
||||||
psql testlocale < test-koi8.sql.in > test-koi8-$f.sql.out 2>/dev/null || abort "test query failed"
|
psql testlocale < test-koi8.sql.in > test-koi8-$f.sql.out 2>/dev/null || abort "test query failed"
|
||||||
diff expected/test-koi8-$f.sql.out test-koi8-$f.sql.out
|
diff expected/test-koi8-$f.sql.out test-koi8-$f.sql.out
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user