pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah@trade-india.com>
To: pgsql-admin@postgresql.org
Subject: misleading message..
Date: Fri, 28 Feb 2003 15:53:53 +0530
Message-ID: <200302281553.53221.mallah@trade-india.com> (raw)

Hi ,

Within a transaction in thru psql if we cancel
a given query with ^C then the transaction is 
not commited.

what is disturbing is the COMMIT does not even gives
an warning or error.

the transaction is silently rollbacked.

regd
mallah.


tradein_clients=# begin work;UPDATE  eyp_listing set keywords=category  where amount > 0 and keywords is null ;
BEGIN
Time: 870.45 ms
UPDATE 6022
Time: 175940.80 ms
tradein_clients=# SELECT keywords,size,category from eyp_listing where amount > 0 and keywords is null limit 20;

^C
Cancel request sent
ERROR:  Query was cancelled.
tradein_clients=# COMMIT ;
COMMIT
Time: 1015.37 ms
tradein_clients=#
tradein_clients=#
tradein_clients=#


ERROR:  current transaction is aborted, queries ignored until end of transaction block


Regds
Mallah

----------------------------------------
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.



Message-ID: <200302281553.53221.mallah@trade-india.com>
Permalink:  ../200302281553.53221.mallah@trade-india.com/
Also on:    postgresql.org/message-id/200302281553.53221.mallah@trade-india.com

 · 

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-admin@postgresql.org
  Cc: mallah@trade-india.com
  Subject: Re: misleading message..
  In-Reply-To: <200302281553.53221.mallah@trade-india.com>
  References: <200302281553.53221.mallah@trade-india.com>

* 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