From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Atul Kumar <Atul_Kumar@persistent.co.in>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: Issue while using PostgreSql 8.4.
Date: Thu, 23 Dec 2010 09:23:17 -0600
Message-ID: <4D1315050200002500038A6E@gw.wicourts.gov> (raw)
In-Reply-To: <E413A259139DE248AC3E87030A8C4B40C3C9F472@EXCHANGE.persistent.co.in>
References: <E413A259139DE248AC3E87030A8C4B40C3C9F472@EXCHANGE.persistent.co.in>
Atul Kumar <Atul_Kumar@persistent.co.in> wrote:
> My issue is, first time I am creating the table and inserting some
> rows of data. After doing some logic going to delete that table .
> I am observing application is getting hang while executing
> statement.execute().
It's taking a long time to run which statement, a DELETE of all rows
in a table?
This isn't sounding much like a PostgreSQL bug at this point, but
with so little information, it is hard to tell for sure. Please
review this page:
http://wiki.postgresql.org/wiki/Guide_to_reporting_problems
As a "shot in the dark" -- if the statement which is taking a long
time is the DELETE, and you want to delete all rows in the table,
try TRUNCATE TABLE.
-Kevin
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, Atul_Kumar@persistent.co.in, pgsql-bugs@postgresql.org, pgsql-general@postgresql.org
Subject: Re: Issue while using PostgreSql 8.4.
In-Reply-To: <4D1315050200002500038A6E@gw.wicourts.gov>
* 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