Project

General

Profile

« Previous | Next » 

Revision 12470

schemas/util.sql: materialize_query(): add a comment on the table with the query it was generated from

View differences:

util.sql
1938 1938
$$||util.ltrim_nl($2));
1939 1939
-- make sure the created table has the correct estimated row count
1940 1940
SELECT util.analyze_($1);
1941

  
1942
SELECT util.append_comment($1, '
1943
contents generated from:
1944
'||util.ltrim_nl($2)||';
1945
');
1941 1946
$_$;
1942 1947

  
1943 1948

  

Also available in: Unified diff