Search Postgresql Archives

Re: View of Union Multiple Tables - Only If table EXISTS

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

 



On Sunday, July 25, 2021, Avi Weinberg <AviW@xxxxxxxxx> wrote:


Is it possible to write the view syntax once and it will do some type of SELECT IF EXISTS.

 


Not with a virew.  Dynamic SQL in a function can be used to build a query at runtime that includes only tables that exist.

David J. 

[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 Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux