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

Re: question for serial types with CHECK conditions

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Guido Barosio <gbarosio(at)gmail(dot)com>
Cc: Michael Glaesemann <grzm(at)seespotcode(dot)net>,PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: question for serial types with CHECK conditions
Date: 2007-04-29 10:25:17
Message-ID: 20070429102517.GB24344@svana.org (view raw or flat)
Thread:
Lists: pgsql-hackers
On Sat, Apr 28, 2007 at 01:34:15PM -0300, Guido Barosio wrote:
>   My point was to step on the asumption that the implicit "serial"
> call for a type represents the fact that the sequence will start
> allways in the same place, unless inmediatelly after your "create
> table" you plan to modify that, which makes no sense when we go back
> to what the CREATE SEQUENCE represents for the case.

I don't think we need to go second guessing what the user may or may
not have wanted. If the user wanted this, we provide it. If the user
didn't they'll notice soon enough. The most important thing is that it
does exactly what it's documented to do.

Have a nice day,
-- 
Martijn van Oosterhout   <kleptog(at)svana(dot)org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

pgsql-hackers by date

Next:From: Simon RiggsDate: 2007-04-29 11:14:21
Subject: Re: Reducing stats collection overhead
Previous:From: Bruce MomjianDate: 2007-04-29 10:08:18
Subject: Re: Reducing stats collection overhead

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