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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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