From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Kris Jurka <books(at)ejurka(dot)com>, Alex <alex(at)meerkatsoft(dot)com>, Lada 'Ray' Lostak <ray(at)unreal64(dot)net>, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: pg_generate_sequence and info_schema patch (Was: SELECT |
Date: | 2004-02-02 06:02:13 |
Message-ID: | 401DE7E5.7010902@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-patches |
Tom Lane wrote:
> folklore has it that Mariner II was lost to exactly such a bug).
Ouch -- got the point.
> If you want to allow the 3-parameter form to specify a negative step
> size, that's fine. But don't use a heuristic to guess the intended
> step direction.
The attached patch implements the semantics you're looking for (I
think). Also attached is my test case output.
The one corner case not discussed is a step size of zero. Currently it
returns zero rows, but I considered having it generate an ERROR.
OK to commit?
Thanks,
Joe
Attachment | Content-Type | Size |
---|---|---|
current.75.diff | text/plain | 10.3 KB |
testcases.out | text/plain | 3.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-02-02 06:44:18 | Re: pg_generate_sequence and info_schema patch (Was: SELECT Question) |
Previous Message | Stephen Robert Norris | 2004-02-02 05:22:29 | Re: I can't upgrade to PostgreSQL 7.4 in RedHat 9.0 |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2004-02-02 06:05:01 | Re: C locale sort in src/tools/make_ctags |
Previous Message | Korea PostgreSQL Users' Group | 2004-02-02 05:19:43 | CVS source win32 mingw some comile error |