| From: | Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> |
|---|---|
| To: | zakkr(at)zf(dot)jcu(dot)cz |
| Cc: | peter_e(at)gmx(dot)net, pgsql-patches(at)postgresql(dot)org |
| Subject: | Re: encoding names |
| Date: | 2001-09-03 01:02:44 |
| Message-ID: | 20010903100244C.t-ishii@sra.co.jp |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
Thanks for the patches. I will check them as soon as possible. Also,
I would like to ask Hiroshi and others who are working for the ODBC
driver to check if everything is ok.
> I found new bug in command/variable.c in parse_client_encoding(), nobody
> probably never see this error:
>
> if (pg_set_client_encoding(encoding))
> {
> elog(ERROR, "Conversion between %s and %s is not supported",
> value, GetDatabaseEncodingName());
> }
>
> because pg_set_client_encoding() returns -1 for error and 0 as true.
> It's fixed too.
??? In C, anthing other than 0 is evaluted to true. So the original
code would work as expected.
--
Tatsuo Ishii
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christopher Kings-Lynne | 2001-09-03 02:56:59 | Re: INTERVAL type: SQL92 implementation |
| Previous Message | Rene Pijlman | 2001-09-02 14:26:55 | PostgreSQL/JDBC Test Suite Howto |