Determining a table column by the view column.

From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Determining a table column by the view column.
Date: 2012-08-14 14:18:43
Message-ID: CAAfz9KNytT1kr-GxA9PVoF8f9_vxfBPQeM65Urs+Pg_ohkOBtw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hey all,

Is there way to determine a table column referenced by
a view column via SQL?

I want to create an universal function to determine
mandatoriness of some column of the view (i.e.
check the not null constraint of underlying table column).

Thanks.

--
// Dmitriy.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Crawford 2012-08-14 14:54:11 Re: Add Metadata to Postgre SQL
Previous Message José Pedro Santos 2012-08-14 13:34:02 Re: Add Metadata to Postgre SQL