Re: Granting Browser Access to pgsql database.

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Granting Browser Access to pgsql database.
Дата
Msg-id
27060.974349884@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Granting Browser Access to pgsql database. "James Snelling" <fatboy2000@btinternet.com>
Re: Granting Browser Access to pgsql database. Larry Rosenman <ler@lerctr.org>
Re: Granting Browser Access to pgsql database. Tom Lane <tgl@sss.pgh.pa.us>
Re: Granting Browser Access to pgsql database. Larry Rosenman <ler@lerctr.org>
Larry Rosenman  writes:
> * James Snelling  [001115 14:09]:
>> However, I still get the line:
>> NOTICE:  Unrecognized variable client_encoding

> The DB probably was built with --enable-multibyte set, but psql is
> finding a libpq that doesn't have it. 

Other way round, actually: libpq is sending a SET command to set the
client-side multibyte encoding, and the backend doesn't know what to
do with it.  It's harmless enough, as long as you aren't expecting
multibyte characters to work ;-)

For 7.1, I've tweaked the backend so that even without
--enable-multibyte, it will accept SET client_encoding = 'SQL_ASCII'
(but *not* any other value).  This should eliminate unnecessary
notices when using clients compiled with a different feature set.

			regards, tom lane
В списке pgsql-novice по дате отправления
От: GH
Дата:
От: turing2000
Дата:
Сообщение:
FAQ