Re: Bug #545: Keyword USER not detected in CREATE VIEW

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: avi(at)argo(dot)co(dot)il, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #545: Keyword USER not detected in CREATE VIEW
Date: 2001-12-28 16:49:25
Message-ID: 1687.1009558165@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> avi=> create view z as select x as user from y;

> My expected result: an error message in CREATE VIEW

This is not a bug, it is intentional behavior. "AS" names are not
restricted to be non-reserved words.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Lockhart 2001-12-28 21:07:49 Re: Bug #545: Keyword USER not detected in CREATE VIEW
Previous Message Darcy Buskermolen 2001-12-28 16:42:57 Re: Bug #545: Keyword USER not detected in CREATE VIEW