pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Emi Lu <emilu@encs.concordia.ca>
To: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: view vs. tables used to define that view
Date: Fri, 08 May 2009 17:05:27 -0400
Message-ID: <4A049E97.7070600@encs.concordia.ca> (raw)

May I know is it possible to query dictionary table(s) in order to 
return relationship between a view and table(s) please?

For example, create view v1 as (select ... from T1 left join T2 ... )

Result:
view Name | Table Name
====================
v1        | T1
v1        | T2

Thanks a lot!
Lu Ying




Message-ID: <4A049E97.7070600@encs.concordia.ca>
Permalink:  ../4A049E97.7070600@encs.concordia.ca/
Also on:    postgresql.org/message-id/4A049E97.7070600@encs.concordia.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: emilu@encs.concordia.ca
  Subject: Re: view vs. tables used to define that view
  In-Reply-To: <4A049E97.7070600@encs.concordia.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox