Re: ISSUE after upgrading to POSTGRES 8.4.8

From: "Bansal, Pradeep" <pradeep(dot)bansal(at)hp(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: ISSUE after upgrading to POSTGRES 8.4.8
Date: 2013-04-30 09:55:12
Message-ID: B5461E3DF9BE014EBFDFA5C8723616910B66D482@G4W3224.americas.hpqcorp.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi John,

Thanks for the reply.
If I execute the query directly in the db(not through my program) then this scenario is not at all reproducible.
Also with the debug5 mode the logs are:-
=================
Removing lock file (/var/opt/psb/data/STANDALONE_LOCK)
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: received password packet
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: postmaster child[4703]: starting with (
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: postgres
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: -v196608
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: -y
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: RAIDSAPROVDB
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: )
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: InitPostgres
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: my backend id is 1
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: StartTransaction
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
<%2013-04-30 15:05:55 IST>DEBUG: forked new backend, pid=4703 socket=7
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: CommitTransaction
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: name: unnamed; blockState: STARTED; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: parse <unnamed>: SELECT nextval('"serial1"')
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: StartTransactionCommand
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: StartTransaction
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
<sfmdb%2013-04-30 15:05:55 IST>LOG: duration: 25.215 ms parse <unnamed>: SELECT nextval('"serial1"')
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: bind <unnamed> to <unnamed>
<sfmdb%2013-04-30 15:05:55 IST>LOG: duration: 0.089 ms bind <unnamed>: SELECT nextval('"serial1"')
<sfmdb%2013-04-30 15:05:55 IST>LOG: duration: 4.061 ms execute <unnamed>: SELECT nextval('"serial1"')
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: CommitTransactionCommand
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: CommitTransaction
<sfmdb%2013-04-30 15:05:55 IST>DEBUG: name: unnamed; blockState: STARTED; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
<sfmdb%2013-04-30 15:05:56 IST>DEBUG: parse <unnamed>: INSERT INTO RAWLOG (boottime, hidden, id, rawdata, source, version) VALUES ($1, $2, $3, $4, $5, $6)
<sfmdb%2013-04-30 15:05:56 IST>DEBUG: StartTransactionCommand
<sfmdb%2013-04-30 15:05:56 IST>DEBUG: StartTransaction
<sfmdb%2013-04-30 15:05:56 IST>DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
<sfmdb%2013-04-30 15:05:56 IST>LOG: duration: 30.224 ms parse <unnamed>: INSERT INTO RAWLOG (boottime, hidden, id, rawdata, source, version) VALUES ($1, $2
, $3, $4, $5, $6)

====================

Please let me know your thoughts.

Regards
Pradeep B

From: John R Pierce [mailto:pierce(at)hogranch(dot)com]
Sent: Tuesday, April 30, 2013 1:24 PM
To: Bansal, Pradeep; pgsql-bugs(at)postgresql(dot)org
Subject: Re: [BUGS] ISSUE after upgrading to POSTGRES 8.4.8

On 4/29/2013 11:40 PM, Bansal, Pradeep wrote:
PQdb name : RAIDSAPROVDB : server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.

you need to look at the server log after an error like this, and see WHY the server terminated

but I concurr with Heikki, upgrade to 8.4.latest (currently 8.4.17) and if this still occurs then figure out why.

--

john r pierce 37N 122W

somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Adrian.Vondendriesch 2013-04-30 15:40:35 BUG #8128: pg_dump (>= 9.1) failed while dumping a scheme named "old" from PostgreSQL 8.4
Previous Message John R Pierce 2013-04-30 07:54:17 Re: ISSUE after upgrading to POSTGRES 8.4.8