On Thu, Feb 4, 2016 at 12:49 PM, Andres Freund <andres@anarazel.de> wrote:
> Seems fairly simple to write a DO statement that does something like
> v_sql = pg_get_viewdef(viewname);
> EXECUTE 'DROP VIEW '||viewname::regclass;
> EXECUTE v_sql;
> in a query over pg_views.
Sorry, I still don't get it. How does that help with ON CONFLICT
arbiter WHERE clause deparsing?
--
Peter Geoghegan