| From: | Oliver Jowett <oliver(at)opencloud(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Patches <pgsql-patches(at)postgresql(dot)org> |
| Subject: | Re: [HACKERS] SAVEPOINT syntax again |
| Date: | 2004-08-12 11:25:03 |
| Message-ID: | 411B538F.9010707@opencloud.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
Tom Lane wrote:
> Oliver Jowett <oliver(at)opencloud(dot)com> writes:
>
>><release savepoint statement> ::= RELEASE SAVEPOINT <savepoint specifier>
>
>
>>Oracle does not have RELEASE SAVEPOINT.
>>DB2 has RELEASE [ TO ] SAVEPOINT <savepoint specifier>
>
>
> I'd vote for RELEASE [ SAVEPOINT ] <name> (for brevity, and for
> consistency with ROLLBACK). I feel no urge to copy DB2.
Here's an updated patch that supports the syntax you suggest. I kept the
error messages, doc examples and regression tests using RELEASE
SAVEPOINT in full to follow the standard.
-O
| Attachment | Content-Type | Size |
|---|---|---|
| pgsql-server-savepoint-syntax-v2.txt | text/plain | 25.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | ntufar | 2004-08-12 12:26:57 | Turkish downcasting in PL/pgSQL |
| Previous Message | LISTMAN | 2004-08-12 10:49:36 | Re: [HACKERS] Where does the xlateSqlType symbol point |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fabien COELHO | 2004-08-12 13:21:21 | pg_dump 'die on errors' option |
| Previous Message | Dave Page | 2004-08-12 08:03:17 | Win32 Event log |