pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: vipul.patel@elitecore.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6450: PQexec stuck.
Date: Thu, 09 Feb 2012 06:28:51 +0000
Message-ID: <E1RvNUx-0003wQ-HI@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      6450
Logged by:          Vipul Patel
Email address:      vipul.patel@elitecore.com
PostgreSQL version: 8.4.5
Operating system:   linux
Description:        

hi,
    I am using the PostgreSQL 8.4.5, I wrote C programm which Create table,
and insert record in it. after some number of recored it will stop.
inserting record and make entry in to other table for used to other process
this table was processed and removed/droped by that process. my programm
create new table and start inserting recored in to that table.

now, some time call of create table is stuck which is called by PQexec. to
resolve this i have to kill that postgres process and i have to perform
vacuming and reindexing on the data base. till then i am not able to create
even a simple table in database (create table tbl1(cl1 int);). 

I know that PQexec is blocking call. but in this type of condition the
PQexec will return with failure error so we can handle it.

in current stat the PQexec will stuck till anyone not vacume and reindexing
the DB.




view thread (4+ messages)  latest in thread

Message-ID: <E1RvNUx-0003wQ-HI@wrigleys.postgresql.org>
Permalink:  ../E1RvNUx-0003wQ-HI@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1RvNUx-0003wQ-HI@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: vipul.patel@elitecore.com
  Subject: Re: BUG #6450: PQexec stuck.
  In-Reply-To: <E1RvNUx-0003wQ-HI@wrigleys.postgresql.org>
  References: <E1RvNUx-0003wQ-HI@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox