Re: [SQL] NULL - Mailing list pgsql-sql

From wieck@debis.com (Jan Wieck)
Subject Re: [SQL] NULL
Date
Msg-id m11nVrB-0003kLC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to Re: [SQL] NULL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [SQL] NULL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Bruce Momjian wrote:

> [Charset iso-8859-1 unsupported, filtering to ASCII...]
> >
> > How about this according to SQL standard:
> >
> > CREATE TABLE x { y integer NULL };
> >
> > It suppose to mean that NULLs are explicitly allowed in
> > this field.
> > Is this required by SQL-92?
>
> If I remember correctly, only NOT NULL is supported by SQL-92.  Thomas
> talked about adding support for it in some limited cases for 7.0.  There
> are shift/reduce cases if it were allowed everywhere.

Hmmm,

    I can't see any shift/reduce conflicts if I place a

        | NULL_P

    case into the ColConstraintElem: definition right between the

        | DEFAULT b_expr

    and

        | NOT NULL_P

    cases. Could it be that this reason is out of date?


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#========================================= wieck@debis.com (Jan Wieck) #

pgsql-sql by date:

Previous
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [SQL] Verificate values in other table?
Next
From: Tom Lane
Date:
Subject: Re: [SQL] NULL