Re: pgsql-server/src/backend commands/sequence.c p ...

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Bruce Momjian - CVS <momjian(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/src/backend commands/sequence.c p ...
Date: 2003-02-13 12:56:32
Message-ID: 1045140991.82493.12.camel@jester
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Thu, 2003-02-13 at 02:21, Christopher Kings-Lynne wrote:
> Shouldn't this patch need some pg_dump changes? And doc changes? Maybe
> even psql changes?
>
> How is NO MAXVALUE and NO MINVALUE stored in the database? How are they
> recreated that way after a dump?

They're not stored. According to the spec they're simply aliases to the
default values, as such we store the default values.

I suppose if you wanted to make the dump portable to other databases one
could store bools for these.

> > -----Original Message-----
> > From: pgsql-committers-owner(at)postgresql(dot)org
> > [mailto:pgsql-committers-owner(at)postgresql(dot)org]On Behalf Of Bruce Momjian
> > - CVS
> > Sent: Thursday, 13 February 2003 1:25 PM
> > To: pgsql-committers(at)postgresql(dot)org
> > Subject: [COMMITTERS] pgsql-server/src/backend commands/sequence.c p ...
> >
> >
> > CVSROOT: /cvsroot
> > Module name: pgsql-server
> > Changes by: momjian(at)postgresql(dot)org 03/02/13 00:25:25
> >
> > Modified files:
> > src/backend/commands: sequence.c
> > src/backend/parser: gram.y
> >
> > Log message:
> > Adds in NO MAXVALUE and NO MINVALUE options for create
> > sequence per 200X
> > spec, which will also make alter sequence a touch easier.
> >
> > sequence.c init_params() will check for settings which have been
> > defined twice, and complain.
> >
> > Rod Taylor
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://archives.postgresql.org
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
--
Rod Taylor <rbt(at)rbt(dot)ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2003-02-13 13:11:52 pgsql-server/src/interfaces/ecpg ChangeLog lib ...
Previous Message Christopher Kings-Lynne 2003-02-13 07:21:42 Re: pgsql-server/src/backend commands/sequence.c p ...