Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 5D1289FB41A for ; Tue, 10 Oct 2006 06:27:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 20739-08 for ; Tue, 10 Oct 2006 09:27:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by postgresql.org (Postfix) with ESMTP id E931B9FB3BA for ; Tue, 10 Oct 2006 06:27:06 -0300 (ADT) Received: by py-out-1112.google.com with SMTP id d80so2652017pyd for ; Tue, 10 Oct 2006 02:27:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=b4FSf1MOayDHLhojWeGgniXAgANr3xPAPb48GaeqiXkTM0wcC82GwQ+O7miYy0HynAecayFfS6epWNVSe2Fcrsijo0hR7PxkCXNuhfGcqea4T/V34urFF1et3uaeMEvDACInnphY8cEDpWMtgCT/opwG/9cl7YqjwjNahyMO1dI= Received: by 10.65.235.7 with SMTP id m7mr11320227qbr; Tue, 10 Oct 2006 02:27:06 -0700 (PDT) Received: by 10.65.252.7 with HTTP; Tue, 10 Oct 2006 02:27:06 -0700 (PDT) Message-ID: <8ddb7c4f0610100227m42e6f5f3w1cf1112075420318@mail.gmail.com> Date: Tue, 10 Oct 2006 11:27:06 +0200 From: "Per Jensen" To: pgsql-jdbc@postgresql.org Subject: Test of 8.2beta1 fails MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4526_15299961.1160472426221" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.375 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, HTML_MESSAGE, NORMAL_HTTP_TO_IP, SPF_PASS X-Spam-Level: X-Archive-Number: 200610/55 X-Sequence-Number: 15938 ------=_Part_4526_15299961.1160472426221 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline List, First of all, I am not sure this list is the right one to write to. I am trying out the postgresql 8.2.beta1 with the jdbc driver contained in ' postgresql-8.2dev-503.jdbc3.jar' downloaded from 'jdbc.postgresql.org'. The database is accessed through iBatis version 1.3.1 --> jakarta DBCP 1.2.1 I have dumped a production database from a debian sarge-PG7.4 instance and restored onto a test PG-8.1.3. This works nicely. The same dump restored to a test PG-8.2.beta1 works not quite as well, some queries succeed and some fail. The exception given on a failed query is: Client logfile: ------------------- Caused by: java.io.EOFException at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:258) at org.postgresql.core.v3.QueryExecutorImpl.processResults( QueryExecutorImpl.java:1164) at org.postgresql.core.v3.QueryExecutorImpl.execute( QueryExecutorImpl.java:190) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute( AbstractJdbc2Statement.java:452) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags( AbstractJdbc2Statement.java :354) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery( AbstractJdbc2Statement.java:258 ) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery (DelegatingPreparedState ment.java:92) This is what happens at server side Server logfile: ------------------- LOG: server process (PID 22651) was terminated by signal 11 LOG: terminating any other active server processes WARNING: terminating connection because of crash of another server process DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. HINT: In a moment you should be able to reconnect to the database and repeat your command. WARNING: terminating connection because of crash of another server process DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. HINT: In a moment you should be able to reconnect to the database and repeat your command. LOG: all server processes terminated; reinitializing LOG: database system was interrupted at 2006-10-10 11:16:01 CEST LOG: checkpoint record is at 0/523346C8 LOG: redo record is at 0/523346C8; undo record is at 0/0; shutdown TRUE LOG: next transaction ID: 0/138643; next OID: 6619443 LOG: next MultiXactId: 1; next MultiXactOffset: 0 LOG: database system was not properly shut down; automatic recovery in progress LOG: connection received: host=::ffff:127.0.0.1 port=33821 FATAL: the database system is starting up LOG: redo starts at 0/52334710 LOG: record with zero length at 0/523FC550 LOG: redo done at 0/523FC528 LOG: database system is ready LOG: transaction ID wrap limit is 2147484172, limited by database "postgres" LOG: connection received: host=::ffff:127.0.0.1 port=33822 LOG: connection authorized: user=XXXX database=XXXX Another query gives this error on the client side: ------------------------------------------------------------------- Caused by: java.io.EOFException at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:258) at org.postgresql.core.v3.QueryExecutorImpl.processResults( QueryExecutorImpl.java:1164) at org.postgresql.core.v3.QueryExecutorImpl.execute( QueryExecutorImpl.java:190) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute( AbstractJdbc2Statement.java:452) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags( AbstractJdbc2Statement.java:354) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery( AbstractJdbc2Statement.java:258) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery( DelegatingPreparedStatement.java:92) ... 54 more where the server once again restarts. Any hint/idea of what is going is much appreciated. Regards Per Jensen ------=_Part_4526_15299961.1160472426221 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline List,

First of all, I am not sure this list is the right one to write to.

I am trying out the postgresql 8.2.beta1 with the jdbc driver contained in 'postgresql-8.2dev-503.jdbc3.jar' downloaded from 'jdbc.postgresql.org'.

The database is accessed through iBatis version 1.3.1 --> jakarta DBCP 1.2.1

I have dumped a production database from  a debian sarge-PG7.4 instance and restored onto a test PG-8.1.3. This works nicely.

The same dump restored to a test PG-8.2.beta1 works not quite as well, some queries succeed and some fail.

The exception given on a failed query is:

Client logfile:
-------------------
Caused by: java.io.EOFException
        at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:258)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1164)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:190)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java
:354)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:258
)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedState
ment.java:92)

This is what happens at server side

Server logfile:
-------------------
LOG:  server process (PID 22651) was terminated by signal 11
LOG:  terminating any other active server processes
WARNING:  terminating connection because of crash of another server process
DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
HINT:  In a moment you should be able to reconnect to the database and repeat your command.
WARNING:  terminating connection because of crash of another server process
DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
HINT:  In a moment you should be able to reconnect to the database and repeat your command.
LOG:  all server processes terminated; reinitializing
LOG:  database system was interrupted at 2006-10-10 11:16:01 CEST
LOG:  checkpoint record is at 0/523346C8
LOG:  redo record is at 0/523346C8; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 0/138643; next OID: 6619443
LOG:  next MultiXactId: 1; next MultiXactOffset: 0
LOG:  database system was not properly shut down; automatic recovery in progress
LOG:  connection received: host=::ffff:127.0.0.1 port=33821
FATAL:  the database system is starting up
LOG:  redo starts at 0/52334710
LOG:  record with zero length at 0/523FC550
LOG:  redo done at 0/523FC528
LOG:  database system is ready
LOG:  transaction ID wrap limit is 2147484172, limited by database "postgres"
LOG:  connection received: host=::ffff:127.0.0.1 port=33822
LOG:  connection authorized: user=XXXX database=XXXX


Another query gives this error on the client side:
-------------------------------------------------------------------
Caused by: java.io.EOFException
        at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:258)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1164)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:190)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:354)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:258)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
        ... 54 more

where the server once again restarts.

Any hint/idea of what is going is much appreciated.

Regards
Per Jensen
------=_Part_4526_15299961.1160472426221--