The attached patch implements START TRANSACTION, per SQL99. The
Bruce Momjian <bruce@momjian.us>
The attached patch implements START TRANSACTION, per SQL99. The functionality of the command is basically identical to that of BEGIN; it just accepts a few extra options (only one of which PostgreSQL currently implements), and is standards-compliant. The patch includes a simple regression test and documentation. [ Regression tests removed, per Peter.] Neil Conway
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/allfiles.sgml | modified | +2 −1 |
| doc/src/sgml/ref/begin.sgml | modified | +2 −2 |
| doc/src/sgml/reference.sgml | modified | +2 −1 |
| doc/src/sgml/ref/set_transaction.sgml | modified | +6 −6 |
| src/backend/nodes/copyfuncs.c | modified | +2 −1 |
| src/backend/nodes/equalfuncs.c | modified | +3 −1 |
| src/backend/parser/gram.y | modified | +21 −28 |
| src/backend/tcop/postgres.c | modified | +6 −2 |
| src/backend/tcop/utility.c | modified | +23 −1 |
| src/include/nodes/parsenodes.h | modified | +4 −3 |