From: "D'Arcy" "J.M." Cain <darcy@druid.net>
To: lockhart@alumni.caltech.edu
Cc: Magnus.Mengelbier@clinicaldatacare.com
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] parser: parse error at or near... with create table
Date: Fri, 30 Jul 1999 12:41:55 -0400 (EDT)
Message-ID: <m11AFjI-0000cIC@druid.net> (raw)
In-Reply-To: <37A1C4E1.F56DED39@alumni.caltech.edu>
Thus spake Thomas Lockhart
> > create table "asdfs" ("fds" serial NOT NULL )
> By definition, the SERIAL type is NOT NULL, so I didn't bother
> allowing that clause in the parser. If you would like to see this
> feature documented, send patches on docs/src/sgml/datatype.sgml. Or
> maybe we should allow it, but it *is* redundant ;)
Given that serial is currently a hack and we plan to implement a real
serial type, we should consider what the real type will do. Is it
still going to be special? Will it act exactly as it does now? Once
we determine that then we just make the parser accept what it will
need to accept then so that people can write their queries the way
they will have to then.
I guess the main question is, will we allow the serial type to be NULL.
If not will we allow the NOT NULL phrase anyway to simplify the grammar.
If yes to either then let's allow the phrase now.
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: darcy@druid.net, lockhart@alumni.caltech.edu, Magnus.Mengelbier@clinicaldatacare.com
Subject: Re: [INTERFACES] parser: parse error at or near... with create table
In-Reply-To: <m11AFjI-0000cIC@druid.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox