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

Re: [QUESTIONS] errors on transactions and locks ?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: sferac(at)proxy(dot)bazzanese(dot)com (Jose' Soares Da Silva)
Cc: herouth(at)oumail(dot)openu(dot)ac(dot)il, hackers(at)postgreSQL(dot)org (PostgreSQL-development)
Subject: Re: [QUESTIONS] errors on transactions and locks ?
Date: 1998-06-16 02:43:56
Message-ID: 199806160243.WAA21381@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfaces
> 
> On Tue, 21 Apr 1998, Herouth Maoz wrote:
> 
> Your example is very exhaustive Herouth. I tried it with SOLID and in fact
> it leaves SOLID database inconsistent.
> 
> I see that PostgreSQL BEGIN/END statements are slight different from SQL
> transactions that begins with a implicit begin transaction (no BEGIN command)
> and ends with a ROLLBACK or COMMIT statement.
> 
> Until now I thought that END was equal to COMMIT but in the case of:
>        NOTICE:  (transaction aborted): queries ignored until END
>        *ABORT STATE*
> in this case END stands for ROLLBACK/ABORT I think it isn't enough clear.
> (I thought all reference to END were changed to COMMIT).
> PostgreSQL don't say to the user that all his work will be lost even if he do
> COMMIT.
> 
> Maybe the following warn is more clear:
>        NOTICE:  (transaction aborted): queries ignored until COMMIT/ROLLBAK
>        WARN:  all changes will be lost even if you use COMMIT.

I have changed the text to read:

             "all queries ignored until end of transaction block"); 
 

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-06-16 02:47:41
Subject: Re: [HACKERS] Re: [QUESTIONS] copy command
Previous:From: Bruce MomjianDate: 1998-06-16 02:38:46
Subject: Re: [QUESTIONS] How to use memory instead of hd?

pgsql-interfaces by date

Next:From: Jose' Soares Da SilvaDate: 1998-06-16 11:00:05
Subject: Re: [HACKERS] User authentification failed
Previous:From: David HartwigDate: 1998-06-15 23:15:37
Subject: Re: [HACKERS] User authentification failed

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