Lists: | pgsql-hackerspgsql-patches |
---|
From: | nconway(at)klamath(dot)dyndns(dot)org (Neil Conway) |
---|---|
To: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | START TRANSACTION |
Date: | 2002-07-27 20:05:20 |
Message-ID: | 20020727200520.GA594@klamath.dyndns.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
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.
Cheers,
Neil
--
Neil Conway <neilconway(at)rogers(dot)com>
PGP Key ID: DB3C29FC
Attachment | Content-Type | Size |
---|---|---|
start-trans-2.patch | text/plain | 18.1 KB |
From: | nconway(at)klamath(dot)dyndns(dot)org (Neil Conway) |
---|---|
To: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: START TRANSACTION |
Date: | 2002-07-27 20:19:08 |
Message-ID: | 20020727201908.GB594@klamath.dyndns.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
On Sat, Jul 27, 2002 at 04:05:20PM -0400, Neil Conway wrote:
> The attached patch implements START TRANSACTION, per SQL99.
Oh, forgot to mention two things: I also removed the grammar's
"support" for chained transactions, since it was basically non-
existent (I don't see the advantage of producing an "chained
transactions not support" error rather than a generic one).
I also renamed the 'opt_level' production to 'iso_level', since
it's not "optional".
Cheers,
Neil
--
Neil Conway <neilconway(at)rogers(dot)com>
PGP Key ID: DB3C29FC
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> |
Cc: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: START TRANSACTION |
Date: | 2002-07-30 19:44:41 |
Message-ID: | 200207301944.g6UJifV15296@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Neil Conway wrote:
> 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.
>
> Cheers,
>
> Neil
>
> --
> Neil Conway <neilconway(at)rogers(dot)com>
> PGP Key ID: DB3C29FC
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> |
Cc: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: START TRANSACTION |
Date: | 2002-07-30 21:43:22 |
Message-ID: | Pine.LNX.4.44.0207302200310.2824-100000@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
Neil Conway writes:
> 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.
Very nice patch, but I don't think we need the regression test. It's a
bit too simple.
--
Peter Eisentraut peter_e(at)gmx(dot)net
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: START TRANSACTION |
Date: | 2002-07-30 22:32:18 |
Message-ID: | 200207302232.g6UMWI005487@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
Peter Eisentraut wrote:
> Neil Conway writes:
>
> > 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.
>
> Very nice patch, but I don't think we need the regression test. It's a
> bit too simple.
Roger.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From: | Alvaro Herrera <alvherre(at)atentus(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [PATCHES] START TRANSACTION |
Date: | 2002-08-04 04:07:49 |
Message-ID: | Pine.LNX.4.44.0208040007020.29827-100000@cm-lcon1-46-187.cm.vtr.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
Peter Eisentraut dijo:
> Neil Conway writes:
>
> > 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.
>
> Very nice patch, but I don't think we need the regression test. It's a
> bit too simple.
That makes me wonder: should I produce some regression tests for
CLUSTER?
--
Alvaro Herrera (<alvherre[a]atentus.com>)
"Investigación es lo que hago cuando no sé lo que estoy haciendo"
(Wernher von Braun)
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> |
Cc: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: START TRANSACTION |
Date: | 2002-08-04 04:31:47 |
Message-ID: | 200208040431.g744VlK09706@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
[ Regression test removed, per Peter.]
Patch applied. Thanks.
---------------------------------------------------------------------------
Neil Conway wrote:
> 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.
>
> Cheers,
>
> Neil
>
> --
> Neil Conway <neilconway(at)rogers(dot)com>
> PGP Key ID: DB3C29FC
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)atentus(dot)com> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [PATCHES] START TRANSACTION |
Date: | 2002-08-04 04:37:00 |
Message-ID: | 7203.1028435820@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
Alvaro Herrera <alvherre(at)atentus(dot)com> writes:
> That makes me wonder: should I produce some regression tests for
> CLUSTER?
It'd be a good thing.
regards, tom lane
From: | Alvaro Herrera <alvherre(at)atentus(dot)com> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | CLUSTER regression test |
Date: | 2002-08-05 06:54:12 |
Message-ID: | Pine.LNX.4.44.0208050246480.16623-300000@cm-lcon1-46-187.cm.vtr.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
Tom Lane dijo:
> Alvaro Herrera <alvherre(at)atentus(dot)com> writes:
> > That makes me wonder: should I produce some regression tests for
> > CLUSTER?
>
> It'd be a good thing.
I'm attaching cluster.sql and cluster.out to be added to the regression
tests.
--
Alvaro Herrera (<alvherre[a]atentus.com>)
"In Europe they call me Niklaus Wirth; in the US they call me Nickel's worth.
That's because in Europe they call me by name, and in the US by value!"
Attachment | Content-Type | Size |
---|---|---|
cluster.out | text/plain | 6.4 KB |
cluster.sql | text/plain | 2.8 KB |