![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
System Configuration - ---------------------- Architecture : i686 Operating System : RH9, 2.4.20-19 PostgreSQL version : PostgreSQL-7.3.4 (RPMS from PGDG) Please enter a FULL description of your problem: - ------------------------------------------------- There is an email attachment (md5: 5cc780da645df9516235d43d1cf1e8b5) which contains a file with two SQL INSERT commands to insert two rows into a test table. The table should look like this: CREATE TABLE tbl_test ( testcol text, unique (testcol) ); The databases in my testing are using SQL_ASCII encoding. |
#3
| |||
| |||
|
|
On Tue, 12 Aug 2003, Kevin Houle wrote: System Configuration - ---------------------- Architecture : i686 Operating System : RH9, 2.4.20-19 PostgreSQL version : PostgreSQL-7.3.4 (RPMS from PGDG) Please enter a FULL description of your problem: - ------------------------------------------------- There is an email attachment (md5: 5cc780da645df9516235d43d1cf1e8b5) which contains a file with two SQL INSERT commands to insert two rows into a test table. The table should look like this: CREATE TABLE tbl_test ( testcol text, unique (testcol) ); The databases in my testing are using SQL_ASCII encoding. I don't receive an error on my 7.3.4 system, what locale is the database initialized in? |
#4
| |||
| |||
|
|
There is an email attachment (md5: 5cc780da645df9516235d43d1cf1e8b5) which contains a file with two SQL INSERT commands to insert two rows into a test table. The table should look like this: CREATE TABLE tbl_test ( testcol text, unique (testcol) ); The databases in my testing are using SQL_ASCII encoding. I don't receive an error on my 7.3.4 system, what locale is the database initialized in? I'm using defaults, so on RH9 it is: /var/lib/pgsql/initdb.i18n: LANG="en_US.UTF-8" |
#5
| |||
| |||
|
|
On Tue, 12 Aug 2003, Kevin Houle wrote: There is an email attachment (md5: 5cc780da645df9516235d43d1cf1e8b5) which contains a file with two SQL INSERT commands to insert two rows into a test table. The table should look like this: CREATE TABLE tbl_test ( testcol text, unique (testcol) ); The databases in my testing are using SQL_ASCII encoding. I don't receive an error on my 7.3.4 system, what locale is the database initialized in? I'm using defaults, so on RH9 it is: /var/lib/pgsql/initdb.i18n: LANG="en_US.UTF-8" Okay, I see it with en_US.UTF-8, but not with C locale, nor with en_US or en_US.iso885915. It looks like the comparison rules are different between the locales (and I'm not sure if SQL_ASCII encoding and a UTF8 locale makes sense in practice). |
![]() |
| Thread Tools | |
| Display Modes | |
| |