Revision 14182
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
4323 | 4323 |
LANGUAGE sql |
4324 | 4324 |
AS $_$ |
4325 | 4325 |
SELECT util.eval($$UPDATE $$||table_||$$ SET $$||col_sql||$$ = $$||col_sql) |
4326 |
FROM (SELECT quote_ident((util.first_col(table_)).name) AS col_sql) s |
|
4326 |
FROM (SELECT quote_ident((util.first_col(table_)).name) AS col_sql) s; |
|
4327 |
SELECT util.try_cluster(table_); -- re-sort rows if needed |
|
4327 | 4328 |
$_$; |
4328 | 4329 |
|
4329 | 4330 |
|
Also available in: Unified diff
fix: schemas/util.sql: run_triggers(): need to re-sort rows if table needs this