Eric Ridge <eeb...@gmail.com> writes: > On Wed, Dec 9, 2015 at 4:04 PM Tom Lane <t...@sss.pgh.pa.us> wrote: >> Open the relation and use get_view_query(), perhaps.
> I figured there was something simple, but I couldn't find it. Thanks! > Sadly, it's static. FWIW, it's exposed in 9.4 and up. But in older branches you could probably just copy it, it's not that big. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers