projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b2fcfd3
)
this is actually bearable with \set verbosity terse
author
Jason Etheridge
<jason@esilibrary.com>
Wed, 20 May 2009 03:35:33 +0000 (
03:35
+0000)
committer
Jason Etheridge
<jason@esilibrary.com>
Wed, 20 May 2009 03:35:33 +0000 (
03:35
+0000)
sql/base/base.sql
patch
|
blob
|
history
diff --git
a/sql/base/base.sql
b/sql/base/base.sql
index
0c4cb15
..
3366cd8
100644
(file)
--- a/
sql/base/base.sql
+++ b/
sql/base/base.sql
@@
-57,6
+57,7
@@
CREATE OR REPLACE FUNCTION migration_tools.exec (TEXT,TEXT) RETURNS VOID AS $$
nrows INTEGER;
BEGIN
EXECUTE 'UPDATE ' || migration_schema || '.sql_current SET sql = ' || quote_literal(sql) || ';';
+ --RAISE INFO '%', sql;
EXECUTE sql;
GET DIAGNOSTICS nrows = ROW_COUNT;
PERFORM migration_tools.log(migration_schema,sql,nrows);