Skip site navigation (1) Skip section navigation (2)

Re: Issue while using PostgreSql 8.4.

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Atul Kumar" <Atul_Kumar(at)persistent(dot)co(dot)in>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Issue while using PostgreSql 8.4.
Date: 2010-12-23 15:23:17
Message-ID: 4D1315050200002500038A6E@gw.wicourts.gov (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-generalpgsql-sql
Atul Kumar <Atul_Kumar(at)persistent(dot)co(dot)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

In response to

pgsql-sql by date

Next:From: Viktor BojovićDate: 2010-12-29 01:45:02
Subject: Re: data import
Previous:From: Atul KumarDate: 2010-12-23 08:31:08
Subject: Issue while using PostgreSql 8.4.

pgsql-bugs by date

Next:From: John R PierceDate: 2010-12-23 17:21:55
Subject: Re: BUG #5801: characters not encoded properly for column names
Previous:From: Marc CousinDate: 2010-12-23 10:34:47
Subject: Re: BUG #5801: characters not encoded properly for column names

pgsql-general by date

Next:From: Harald Armin MassaDate: 2010-12-23 15:28:39
Subject: Re: Issue while using PostgreSql 8.4.
Previous:From: Mark WatsonDate: 2010-12-23 14:20:04
Subject: Re: copy from problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group