psql: invalid connection option "client_encoding"

From: Clodoaldo Neto <clodoaldo(dot)pinto(dot)neto(at)gmail(dot)com>
To: PostgreSQL - General ML <pgsql-general(at)postgresql(dot)org>
Subject: psql: invalid connection option "client_encoding"
Date: 2012-02-28 16:21:26
Message-ID: CA+Z73LGY2Z1Hj7zcp-iYRfJ=81bPvvk6EddZp6iDqQHzgqTtug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hari.fuchs 2012-02-28 16:33:35 Re: How to get a signal from the database when a INSERT INTO is done?
Previous Message Daniele Varrazzo 2012-02-28 15:54:57 Re: How to get a signal from the database when a INSERT INTO is done?