Re: Separate psql commands from arguments

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Separate psql commands from arguments
Дата
Msg-id 87lk3khfy7.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: Separate psql commands from arguments  (Bernd Helmle <mailings@oopsware.de>)
Список pgsql-hackers
"Bernd Helmle" <mailings@oopsware.de> writes:

>> What happens to aliases when you change the encoding in the middle of
>> running one? Actually, come to think of it, what *does* happen to aliases
>> when the encoding changes??
>
> Hmm? What happens if you are going to change your encoding within multiple
> backslash commands now?

I mean. What happens if I do:

\encoding 'UTF8'
\alias foo select 'あ' from tab;
\encoding euc-jp
\foo

What encoding is the alias itself stored in? Do we have to worry about
converting it when you switch client-encodings?

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Ask me about EnterpriseDB's RemoteDBA services!


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: question on how to correctly communicate with external library functions which return malloc()'ed strings
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Adding pipelining support to set returning functions