From: | Rajesh Kumar Mallah <mallah(at)trade-india(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | misleading message.. |
Date: | 2003-02-28 10:23:53 |
Message-ID: | 200302281553.53221.mallah@trade-india.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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.
From | Date | Subject | |
---|---|---|---|
Next Message | Nathalie Boulos | 2003-02-28 10:31:38 | postgres access log file |
Previous Message | Andreas Schmitz | 2003-02-28 09:17:40 | Re: Still a bug in the VACUUM ??? !!! (SCHEMA) |