Re: RI and PARSER (was: Re: [HACKERS] RI status report #1)

From: wieck(at)debis(dot)com (Jan Wieck)
To: lockhart(at)alumni(dot)caltech(dot)edu (Thomas Lockhart)
Cc: wieck(at)debis(dot)com, tgl(at)sss(dot)pgh(dot)pa(dot)us, hackers(at)postgresql(dot)org
Subject: Re: RI and PARSER (was: Re: [HACKERS] RI status report #1)
Date: 1999-09-29 09:13:04
Message-ID: m11WFnM-0003kLC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > CONSTRAINTS
> > DEFERRABLE
> > DEFERRED
> > IMMEDIATE
> > INITIALLY
> > PENDANT
> > RESTRICT
>
> [...]
> allowed column and table names. The keywords, reserved, unreserved,
> and unused, are documented for Postgres in syntax.sgml, and the docs
> present them wrt the SQL92 and SQL3 standards.
>
> What I usually do is try adding one or all of them to ColId, and if
> that fails by giving shift/reduce conflicts I'll try moving the
> offenders to ColLabel. There aren't many places in the syntax where
> yacc/bison can't handle keywords at least as column labels.

O.K. - I was able to add them all to ColId without conflicts
for now. Let's see what happens after adding the syntax for
CREATE CONSTRAINT TRIGGER.

I'm not sure which of them are SQL92 or SQL3, at least they
are all SQL3 "reserved" words according to the SQL3 draft.

Jan

--

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Ridout 1999-09-29 09:19:15 RE: [HACKERS] MS Access upsizing
Previous Message Christof Petig 1999-09-29 08:56:07 Re: [PATCHES] ECPGlib: NULL into bool, force indicator on NULL (2 patches)