Re: dblink performance regression

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: dblink performance regression
Дата
Msg-id AA6649D2-A0EA-4620-8263-59C959CFDA2D@gmail.com
обсуждение исходный текст
Ответ на Re: dblink performance regression  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
> On 2013/12/08, at 10:50, Joe Conway <mail@joeconway.com> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>> On 12/07/2013 05:41 PM, Fabrízio de Royes Mello wrote:
>>
>> On Sat, Dec 7, 2013 at 11:20 PM, Michael Paquier
>> <michael.paquier@gmail.com <mailto:michael.paquier@gmail.com>>
>> wrote:
>>>>
>>>> IMHO is more elegant create a procedure to encapsulate the code
>>>> to avoid redundancy.
>>> Yep, perhaps something like PQsetClientEncodingIfDifferent or
>>> similar would make sense.
>>
>> Well I think at this first moment we can just create a procedure
>> inside the dblink contrib and not touch in libpq.
>
> Maybe a libpq function could be done for 9.4, but not for back branches.
Agreed as this would change the spec of libpq between minor releases. Sorry for not being clear myself.

>  -- we're only talking about two lines of added redundancy which is
> less lines of code than a new function would add. But if we create
> PQsetClientEncodingIfDifferent() (or whatever) we can remove those
> extra lines in 9.4 ;-)



--
Michael
(Sent from my mobile phone)




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

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: dblink performance regression
Следующее
От: Gavin Flower
Дата:
Сообщение: Re: ANALYZE sampling is too good