Re: [HACKERS] New TODO item

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] New TODO item
Date: 1999-06-17 21:04:49
Message-ID: 5101.929653489@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)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.

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.

End result is an untransformed Ident node gets left in the parser
output, and neither the rewriter nor the planner know what to do with
it.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-06-17 22:18:28 Re: [HACKERS] Installation procedure wishes
Previous Message Jan Wieck 1999-06-17 21:03:26 Re: [HACKERS] New TODO item