Re: Fwd: postgresql-autodoc - missinterprets "version" - Mailing list pgsql-bugs

From Martin Pitt
Subject Re: Fwd: postgresql-autodoc - missinterprets "version"
Date
Msg-id 20040708150123.GB18394@donald.intranet.fbn-dd.de
Whole thread Raw
In response to Re: Fwd: postgresql-autodoc - missinterprets "version"  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Responses Re: Fwd: postgresql-autodoc - missinterprets "version"  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Hi Stephan!

On 2004-07-08  7:10 -0700, Stephan Szabo wrote:
> It doesn't appear to be necessary to quote the identifier, however version
> and "version" refer to the same identifier in this case so I wouldn't call
> it an error, either.  My guess as to the reason comes from this comment
> fragment in quote_identifier:
>=20
> * Check for keyword.  This test is overly strong, since many of
> * the "keywords" known to the parser are usable as column names,
> * but the parser doesn't provide any easy way to test for whether
> * an identifier is safe or not... so be safe not sorry.

This makes sense, thank you. I reassigned this bug to
postgresql-autodoc. Just ignoring the quotes cannot be that
difficult...

Thanks and have a nice day!

Martin

--=20
Martin Pitt                 Debian GNU/Linux Developer
martin@piware.de                      mpitt@debian.org
http://www.piware.de             http://www.debian.org

pgsql-bugs by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Fwd: postgresql-autodoc - missinterprets "version"
Next
From: vertigo
Date:
Subject: 7.4: serial not working ?