Re: Bug with view definitions?

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: Bug with view definitions?
Дата
Msg-id Pine.LNX.4.44.0407011325440.21809-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на Bug with view definitions?  (Justin Clift <jc@telstra.net>)
Ответы Re: Bug with view definitions?
Список 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 по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: Bug with view definitions?
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: xeon processors