Urgent please: PGPOOL II 2.3.3 hang in ssl mode

From: AI Rumman <rummandba(at)gmail(dot)com>
To: pgpool-hacker(at)pgfoundry(dot)org, pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Urgent please: PGPOOL II 2.3.3 hang in ssl mode
Date: 2010-05-09 06:58:45
Message-ID: m2l2a7905441005082358z90667411p13e29552204b9ac6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am using Pgpool II 2.3.3 with Postgresql 8.3.8.

When I use command \l at postgresql client the query is working perfectly.

But if I used the command from pgpool II client which is connected with
postgresql in ssl mode, it gets hang.

Again if I use the command from pgpool II client in non-ssl mode, it works
fine.

Any help please.

When I use the following query it works :

SELECT d.datname as "Name",
r.rolname as "Owner",
d.encoding as "Encoding"
FROM pg_catalog.pg_database d
JOIN pg_catalog.pg_roles r ON d.datdba = r.oid
ORDER BY 1

But the following query does not work:

SELECT d.datname as "Name",
r.rolname as "Owner",
pg_catalog.pg_encoding_to_char(d.encoding) as "Encoding"
FROM pg_catalog.pg_database d
JOIN pg_catalog.pg_roles r ON d.datdba = r.oid
ORDER BY 1

The function call "pg_catalog.pg_encoding_to_char(d.encoding)" somehow makes
the Pgpool hang in SSL mode.

I found that the following works fine:

postgres=# create table mytab as select relname from pg_class limit 37;
SELECT
postgres=# select pg_relation_size('mytab');
pg_relation_size
------------------
8192
(1 row)

But, the folllowing hangs:

postgres=# select relname from pg_class limit 38;

Any help please. Its urgent.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2010-05-09 08:53:37 Re: Database design confusing pg_restore, and misc pg_restore issues
Previous Message Rick Yorgason 2010-05-09 04:49:17 Re: Database design confusing pg_restore, and misc pg_restore issues