psql: invalid connection option "client_encoding" - Mailing list pgsql-general

From Clodoaldo Neto
Subject psql: invalid connection option "client_encoding"
Date
Msg-id CA+Z73LGY2Z1Hj7zcp-iYRfJ=81bPvvk6EddZp6iDqQHzgqTtug@mail.gmail.com
Whole thread Raw
Responses Re: psql: invalid connection option "client_encoding"  (Devrim GÜNDÜZ <devrim@gunduz.org>)
List pgsql-general
I have both 9.0 and 9.1 installed in Centos 6:

postgresql90.x86_64                   9.0.7-1PGDG.rhel6                @pgdg90
postgresql90-docs.x86_64              9.0.7-1PGDG.rhel6                @pgdg90
postgresql90-libs.x86_64              9.0.7-1PGDG.rhel6                @pgdg90
postgresql90-odbc.x86_64              09.00.0310-1PGDG.rhel6           @pgdg90
postgresql90-plpython.x86_64          9.0.7-1PGDG.rhel6                @pgdg90
postgresql90-server.x86_64            9.0.7-1PGDG.rhel6                @pgdg90
postgresql91.x86_64                   9.1.3-1PGDG.rhel6                @pgdg91
postgresql91-libs.x86_64              9.1.3-1PGDG.rhel6                @pgdg91
postgresql91-plpython.x86_64          9.1.3-1PGDG.rhel6                @pgdg91
postgresql91-server.x86_64            9.1.3-1PGDG.rhel6                @pgdg91

There is this thread: http://archives.postgresql.org/pgsql-admin/2011-09/msg00101.php

My ldconfig output is a bit different:

$ ldconfig -p | grep pq
    libpqwalreceiver.so (libc6,x86-64) => /usr/pgsql-9.0/lib/libpqwalreceiver.so
    libpqwalreceiver.so (libc6,x86-64) => /usr/pgsql-9.1/lib/libpqwalreceiver.so
    libpq.so.5 (libc6,x86-64) => /usr/pgsql-9.0/lib/libpq.so.5
    libpq.so.5 (libc6,x86-64) => /usr/pgsql-9.1/lib/libpq.so.5
    libipq.so.0 (libc6,x86-64) => /lib64/libipq.so.0

Is there a clean solution to have both versions working?

Regards, Clodoaldo

pgsql-general by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Re: How to get a signal from the database when a INSERT INTO is done?
Next
From: hari.fuchs@gmail.com
Date:
Subject: Re: How to get a signal from the database when a INSERT INTO is done?