On Sat, Dec 7, 2013 at 11:20 PM, Michael Paquier <michael.paqu...@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. 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