Re: Why are default encoding conversions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why are default encoding conversions
Дата
Msg-id 3241.1143565113@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why are default encoding conversions  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список pgsql-hackers
Tatsuo Ishii <ishii@sraoss.co.jp> writes:
>> Because with the current definition, any change in search_path really
>> ought to lead to repeating the lookup for the default conversion proc.
>> That's a bad idea from a performance point of view and I don't think
>> it's a particularly good idea from the definitional point of view
>> either --- do you really want the client conversion changing because
>> some function altered the search path?

> That argument does not strike me too strongly. I cannot imagine the
> case search_path changed so frequently.

I can.  There's been talk for example of having a search path associated
with every function definition, so that it might need to be changed at
every function call and return.  In any case I don't like the notion
that the client conversion is tied to search_path; they really should
be independent.
        regards, tom lane


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Why are default encoding conversions
Следующее
От: Thomas Hallgren
Дата:
Сообщение: Re: Shared memory