Re: pg_generate_sequence and info_schema patch (Was: SELECT Question)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
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 Question)
Date: 2004-02-02 06:44:18
Message-ID: 29355.1075704258@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

Joe Conway <mail(at)joeconway(dot)com> writes:
> 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.

I'd go for ERROR --- can't think of any reason to do otherwise, nor
any standard programming language that wouldn't consider that an error.

> OK to commit?

Don't forget to bump the catversion number.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Schilling 2004-02-02 06:52:07 Re: Very slow query - why?
Previous Message Joe Conway 2004-02-02 06:02:13 Re: pg_generate_sequence and info_schema patch (Was: SELECT

Browse pgsql-patches by date

  From Date Subject
Next Message Claudio Natoli 2004-02-02 06:53:05 Re: pg_generate_sequence and info_schema patch (Was: SE
Previous Message Claudio Natoli 2004-02-02 06:18:23 FW: [pgsql-hackers-win32] CVS source win32 mingw some comile err