pginstaller - pginst: Add a check to ensure that the server encoding - Mailing list pgsql-committers

From dpage@pgfoundry.org (User Dpage)
Subject pginstaller - pginst: Add a check to ensure that the server encoding
Date
Msg-id 20071015095532.BFAE7216C60@pgfoundry.org
Whole thread Raw
List 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
alsobe accepted, pending server changes currently being discussed on pgsql-hackers. If C is chosen as the locale, we
acceptany 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)

pgsql-committers by date:

Previous
From: dpage@pgfoundry.org (User Dpage)
Date:
Subject: pginstaller - pginst: Update version
Next
From: kostas@pgfoundry.org (User Kostas)
Date:
Subject: pgtreelib - pgtreelib: