> Bruce Momjian <maillist@candle.pha.pa.us> writes:
> > New item for TODO list:
> > * SELECT aliname FROM pg_class aliname generates strange error
>
> You don't need the alias; "SELECT pg_class FROM pg_class" generates
> the same behavior.
TODO updated.
>
> Looks to me like the parser is failing to reject this query as malformed.
> transformIdent() is willing to take either a column name or a relation
> name (why?), and no one upstream is rejecting the relation-name case.
There is some reason for this that I think Thomas can tell us.
-- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026