From: | dpage(at)pgfoundry(dot)org (User Dpage) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pginstaller - pginst: Add a check to ensure that the server encoding |
Date: | 2007-10-15 09:55:32 |
Message-ID: | 20071015095532.BFAE7216C60@pgfoundry.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Add a check to ensure that the server encoding selected is valid for the locale. We allow the default encoding for the locale (eg. whatever Windows uses if setlocale(LC_CTYPE, "English_United Kingdom") is called or SQL_ASCII. UTF-8 should also be accepted, pending server changes currently being discussed on pgsql-hackers. If C is chosen as the locale, we accept any server encoding.
Also, ensure that the default server encoding offered is actually valid, otherwise default back to SQL_ASCII.
Modified Files:
--------------
pginst/ca:
locale.c (r1.18 -> r1.19)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pginstaller/pginst/ca/locale.c.diff?r1=1.18&r2=1.19)
pginstca.c (r1.115 -> r1.116)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pginstaller/pginst/ca/pginstca.c.diff?r1=1.115&r2=1.116)
From | Date | Subject | |
---|---|---|---|
Next Message | User Kostas | 2007-10-15 10:55:31 | pgtreelib - pgtreelib: |
Previous Message | User Dpage | 2007-10-15 08:33:48 | pginstaller - pginst: Update version |