postgresql/src/backend
Bruce Momjian a6c7681997 This patch changes the behavior of PostgreSQL so that if any queries are
executed in an implicitely aborted transaction (e.g. after an occur
occurs), we return an error (and not just a warning). For example:

nconway=# begin;
BEGIN
nconway=# insert; -- syntax error
ERROR:  parser: parse error at or near ";"
nconway=# select * from a;
ERROR:  current transaction is aborted, queries ignored until end of
transaction block

The old behavior was:

nconway=# begin;
BEGIN
nconway=# insert;
ERROR:  parser: parse error at or near ";"
nconway=# select * from a;
WARNING:  current transaction is aborted, queries ignored until end
of transaction block
*ABORT STATE*

Which can be confusing: if the client isn't paying careful attention,
they will conclude that the query has executed (because no error is
returned).

Neil Conway
2002-08-06 05:24:04 +00:00
..
access Restructure local-buffer handling per recent pghackers discussion. 2002-08-06 02:36:35 +00:00
bootstrap Implement WAL log location control using "-X" or PGXLOG. 2002-08-04 06:26:38 +00:00
catalog Restructure local-buffer handling per recent pghackers discussion. 2002-08-06 02:36:35 +00:00
commands Restructure local-buffer handling per recent pghackers discussion. 2002-08-06 02:36:35 +00:00
executor Restructure local-buffer handling per recent pghackers discussion. 2002-08-06 02:36:35 +00:00
lib Update copyright to 2002. 2002-06-20 20:29:54 +00:00
libpq Remove certain Makefile dependencies by using full pathnames in 2002-07-15 21:34:05 +00:00
main Update copyright to 2002. 2002-06-20 20:29:54 +00:00
nodes Fix merge failures for anonymous-type patch. From Joe Conway. 2002-08-04 23:49:59 +00:00
optimizer ALTER TABLE DROP COLUMN works. Patch by Christopher Kings-Lynne, 2002-08-02 18:15:10 +00:00
parser Preliminary code review for anonymous-composite-types patch: fix breakage 2002-08-05 02:30:50 +00:00
po Improve lexer's error reporting. You get the whole token mentioned now 2002-05-01 17:12:08 +00:00
port Assemble portability modules into libpgport library. 2002-07-27 20:10:05 +00:00
postmaster Implement WAL log location control using "-X" or PGXLOG. 2002-08-04 06:26:38 +00:00
regex Implement SQL99 OVERLAY(). Allows substitution of a substring in a string. 2002-06-11 15:44:38 +00:00
rewrite Restructure system-catalog index updating logic. Instead of having 2002-08-05 03:29:17 +00:00
storage Restructure local-buffer handling per recent pghackers discussion. 2002-08-06 02:36:35 +00:00
tcop This patch changes the behavior of PostgreSQL so that if any queries are 2002-08-06 05:24:04 +00:00
tioga Update copyright to 2002. 2002-06-20 20:29:54 +00:00
utils Restructure local-buffer handling per recent pghackers discussion. 2002-08-06 02:36:35 +00:00
Makefile Assemble portability modules into libpgport library. 2002-07-27 20:10:05 +00:00