Skip site navigation (1) Skip section navigation (2)

Re: Fwd: postgresql-autodoc - missinterprets "version"

From: Martin Pitt <martin(at)piware(dot)de>
To: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Fwd: postgresql-autodoc - missinterprets "version"
Date: 2004-07-08 15:01:23
Message-ID: 20040708150123.GB18394@donald.intranet.fbn-dd.de (view raw or flat)
Thread:
Lists: 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:
> 
> * 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

-- 
Martin Pitt                 Debian GNU/Linux Developer
martin(at)piware(dot)de                      mpitt(at)debian(dot)org
http://www.piware.de             http://www.debian.org

In response to

Responses

pgsql-bugs by date

Next:From: Oliver ElphickDate: 2004-07-08 17:23:01
Subject: Re: 7.4: serial not working ?
Previous:From: Stephan SzaboDate: 2004-07-08 14:10:22
Subject: Re: Fwd: postgresql-autodoc - missinterprets "version"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group