Re: suggestion for "psql"

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: suggestion for "psql"
Дата
Msg-id 419878BF.3090308@archonet.com
обсуждение исходный текст
Ответ на suggestion for "psql"  (Holger Klawitter <lists@klawitter.de>)
Список pgsql-general
Holger Klawitter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi there,
>
> I haven't found a way to set the client encoding of a psql connection other
> then "\encoding" which is arkward for batch processing. As .psqlrc is being
> ignored during batch processing and the internal encoding is being set
> *after* "-v", I have to resort to arkward solutions in order to read data via
> scripts. (To whom it may concern: instead of using "-c" you can pipe your
> command from stdin).

set client_encoding=MyEncoding;

--
   Richard Huxton
   Archonet Ltd

В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Visual Studio and Postgresql
Следующее
От: "Stefano Bonnin"
Дата:
Сообщение: Question about indexes