Re: insert statements

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Vince Vielhaber <vev(at)michvhf(dot)com>
Cc: Rod Taylor <rbt(at)zort(dot)ca>, Peter Eisentraut <peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: insert statements
Date: 2002-03-14 16:18:35
Message-ID: 20020314080857.K433-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Thu, 14 Mar 2002, Vince Vielhaber wrote:

> On Thu, 14 Mar 2002, Rod Taylor wrote:
>
> > As snipped from:
> > http://archives.postgresql.org/pgsql-bugs/2000-10/msg00030.php (All
> > my stuff is in paper form)
> > What's your definition of "other dbs"? The above statement is quite
> > clearly in violation of the SQL92 and SQL99 specifications:
>
> And nowhere does it say that <column name> cannot be qualified with
> the table name in front of it. Looking at the entire message noted

AFAICS periods are not valid in identifiers that are not double
quoted (section 5.2 has the rules on regular identifiers and delimited
ones)

<regular identifier> ::= <identifier body>

<identifier body> ::=
<identifier start> [ { <underscore> | <identifier part> }... ]

<identifier start> ::= !! See the Syntax Rules

<identifier part> ::=
<identifier start>
| <digit>
identifier start is a simple latin letter, a letter in the character
repertoire that's in use, a syllable in the repertoire or an ideograph in
the repertoire.

identifier is defined as either a regular identifier or a delimited one
(ie double quoted). So column name cannot contain periods.

That being said, is this something that's worth adding due to general
usage by other systems?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 2002-03-14 16:27:42 Re: insert statements
Previous Message Matthew Kirkwood 2002-03-14 16:15:25 Re: Survey results on Oracle/M$NT4 to PG72/RH72 migration