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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

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

Browse pgsql-interfaces by date

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