Обсуждение: psql: invalid connection option "client_encoding"

Поиск
Список
Период
Сортировка

psql: invalid connection option "client_encoding"

От
Clodoaldo Neto
Дата:
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

Re: psql: invalid connection option "client_encoding"

От
Devrim GÜNDÜZ
Дата:
Hi,

Created #77:

http://wiki.pgrpms.org/ticket/77

Regards,

On Tue, 2012-02-28 at 13:21 -0300, Clodoaldo Neto wrote:
>                   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 i
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Вложения