Project

General

Profile

« Previous | Next » 

Revision 14342

schemas/util.sql: rematerialize_view(): call util.copy() directly instead of via util.materialize_view()

View differences:

trunk/schemas/util.sql
4727 4727
    AS $_$
4728 4728
SELECT util.recreate($$
4729 4729
SELECT util.drop_table($$||util.quote_typed($1)||$$);
4730
SELECT util.materialize_view($$||util.quote_typed($1)||$$, $$||
4731
util.quote_typed($2)||$$);
4730
SELECT util.copy($$||util.quote_typed($2)||$$, $$||util.quote_typed($1)||$$);
4732 4731
$$);
4733 4732
$_$;
4734 4733

  

Also available in: Unified diff