Re: Bug with view definitions? - Mailing list pgsql-hackers

From Dennis Bjorklund
Subject Re: Bug with view definitions?
Date
Msg-id Pine.LNX.4.44.0407011325440.21809-100000@zigo.dhs.org
Whole thread Raw
In response to Bug with view definitions?  (Justin Clift <jc@telstra.net>)
Responses Re: Bug with view definitions?
List pgsql-hackers
On Thu, 1 Jul 2004, Justin Clift wrote:

> Not sure if this is a known issue or not, but I think I may have found a 
> bug with the way view definitions are shown... at least in psql.
> 
> Using 7.5 development CVS (as of a few hours ago) or even 7.4.3, if I 
> connect using it's version of psql to a database (of the same version), 
> then use psql to view the information_schema.constraint_columns_usage 
> view, it gives me this definition:

[long view defintion from \d information_schema.constraint_column_usage]

The thing that does not work is that the SELECT to the left of the UNION
ALL needs to be put inside (), then it works and the parser can parse it.

Looking at the doc page it looks like the () should not be needed but one
need to check real grammar (specification) to really know how it should be
parsed.

-- 
/Dennis Björklund



pgsql-hackers by date:

Previous
From: Justin Clift
Date:
Subject: Bug with view definitions?
Next
From: Doug McNaught
Date:
Subject: Re: xeon processors