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

Commit 2d11676

Browse files
committed
Cleanup patch from Oleg.
1 parent afded8a commit 2d11676

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/README.locale

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
1998 May 25
2+
1998 Nov 20
33

44
I extended locale support. Now ORDER BY (if PostgreSQL configured with
55
--enable-locale) uses strcoll() for all text fields: char(n), varchar(n),
6-
text. (I am not sure about ORDER BY char2/char4/etc.)
6+
text.
77

88
I included test suite .../src/test/locale. I didn't include this in
99
the regression test because not so much people require locale support. Read

src/test/locale/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ clean:
3030
done
3131

3232
test-%: all
33-
@cd `echo $@ | sed s/^test-//` && $(MAKE) test
33+
@cd `echo $@ | sed 's/^test-//'` && $(MAKE) test

src/test/locale/koi8-r/runall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ for f in char varchar text; do
4141

4242
destroydb testlocale >/dev/null 2>&1
4343
createdb testlocale || abort "createdb failed"
44-
psql -d testlocale -c "CREATE TABLE usastates (abbrev char2, name_en char(20), name_ru $ftype);" >/dev/null 2>&1 || abort "createtable failed"
44+
psql -d testlocale -c "CREATE TABLE usastates (abbrev char(2), name_en char(20), name_ru $ftype);" >/dev/null 2>&1 || abort "createtable failed"
4545
psql testlocale < test-koi8.sql.in > test-koi8-$f.sql.out 2>/dev/null || abort "test query failed"
4646
diff expected/test-koi8-$f.sql.out test-koi8-$f.sql.out
4747
done

0 commit comments

Comments
 (0)