Re: view without definition in information_schema.Views - Mailing list pgsql-novice

From amul sul
Subject Re: view without definition in information_schema.Views
Date
Msg-id 2072853617.345461.1435752296734.JavaMail.yahoo@mail.yahoo.com
Whole thread Raw
In response to view without definition in information_schema.Views  (Hans Ginzel <hans@matfyz.cz>)
Responses Re: view without definition in information_schema.Views
List pgsql-novice
Its in pg_view catalog.

Check more detail in PostgreSQL doc:
http://www.postgresql.org/docs/9.3/static/view-pg-views.html
 Regards,
Amul Sul



On Wednesday, 1 July 2015 4:55 PM, Hans Ginzel <hans@matfyz.cz> wrote:



Hello!

I realised that there are views in information_schema.Views without
definition but \d+ psql command shows the definition. Where does the
definition live, please?

SELECT    *
FROM    information_schema.Views
WHERE    Table_Schema NOT IN ('pg_catalog', 'information_schema')
    AND View_Definition IS NULL
LIMIT    10;

Regards
Hans Ginzel



--
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice


pgsql-novice by date:

Previous
From: Hans Ginzel
Date:
Subject: view without definition in information_schema.Views
Next
From: Hans Ginzel
Date:
Subject: Re: view without definition in information_schema.Views