Project

General

Profile

« Previous | Next » 

Revision 14349

schemas/util.sql: rematerialize_view(): don't need extra eval() around table_mod_sql because recreate() performs eval()

View differences:

trunk/schemas/util.sql
4707 4707
SELECT util.drop_table($$||util.quote_typed($1)||$$);
4708 4708
SELECT util.copy_struct($$||util.quote_typed($2)||$$, $$||
4709 4709
util.quote_typed($1)||$$);
4710
SELECT util.eval($$||util.quote_typed(table_mod_sql)||$$);
4711
$$);
4710
$$||table_mod_sql -- no blank line before b/c table_mod_sql has preceding \n
4711
);
4712 4712

  
4713 4713
/* don't populate unless recreate() can successfully recreate the dependent
4714 4714
views, to avoid populating the entire table (which for some views can take

Also available in: Unified diff