[open-ils-commits] r16054 - trunk/Open-ILS/src/extras/import (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 30 10:34:55 EDT 2010
Author: miker
Date: 2010-03-30 10:34:53 -0400 (Tue, 30 Mar 2010)
New Revision: 16054
Modified:
trunk/Open-ILS/src/extras/import/pg_loader.pl
Log:
Patch from Lee Dickens and Galen Charlton to correct a thinko in the recent change to pg_loader -- ignore auto-pkey tables, as those have had their sequences adjusted, um, automatically
Modified: trunk/Open-ILS/src/extras/import/pg_loader.pl
===================================================================
--- trunk/Open-ILS/src/extras/import/pg_loader.pl 2010-03-30 02:00:26 UTC (rev 16053)
+++ trunk/Open-ILS/src/extras/import/pg_loader.pl 2010-03-30 14:34:53 UTC (rev 16054)
@@ -126,7 +126,7 @@
$output->print("SELECT reporter.disable_materialized_simple_record_trigger();\n");
}
- $after_commit .= "SELECT setval('$fieldcache{$h}{sequence}'::TEXT, (SELECT MAX($fieldcache{$h}{pkey}) FROM $fieldcache{$h}{table}), TRUE);\n";
+ $after_commit .= "SELECT setval('$fieldcache{$h}{sequence}'::TEXT, (SELECT MAX($fieldcache{$h}{pkey}) FROM $fieldcache{$h}{table}), TRUE);\n"
if (!grep { $_ eq $h} @auto);
}
More information about the open-ils-commits
mailing list