Re: dblink performance regression - Mailing list pgsql-hackers

From Fabrízio de Royes Mello
Subject Re: dblink performance regression
Date
Msg-id CAFcNs+rZLMmDAAdH0RE5JTMtTu1TdNkNT9Zc9fEoYzg4f3CmoA@mail.gmail.com
Whole thread Raw
In response to Re: dblink performance regression  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
List pgsql-hackers

On Sat, Dec 7, 2013 at 11:41 PM, Fabrízio de Royes Mello <fabriziomello@gmail.com> wrote:
>
>
> On Sat, Dec 7, 2013 at 11:20 PM, Michael Paquier <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.
>

Something like the attached.

Regards,

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Timbira: http://www.timbira.com.br
>> Blog sobre TI: http://fabriziomello.blogspot.com
>> Perfil Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello
Attachment

pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: dblink performance regression
Next
From: Michael Paquier
Date:
Subject: Re: dblink performance regression