Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-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

pgsql-patches by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group