Search Postgresql Archives

columns refered to in view

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have created a view with this query:

CREATE VIEW testview AS SELECT table.column AS col1, table2.column AS coll2 FROM table, table2;

Later on, i want to get the table and column name that a field refers to in this view. In other words i want to get the table and column that the column 'col1' refers to. Im looking for 'table.column'. How can i get this information?

thanks!


-- Alexander Cohen http://www.toomuchspace.com (819) 348-9237 (819) 432-3443


---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux