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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2007-04-29 11:14:21 Re: Reducing stats collection overhead
Previous Message Bruce Momjian 2007-04-29 10:08:18 Re: Reducing stats collection overhead