Changeset 211
- Timestamp:
- 12/21/11 17:48:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/vega-import.pl
r204 r211 59 59 # set seq id on permissions, since we merged the two tables, and the new permission IDs will not match the old 60 60 $newdbh->do("SELECT pg_catalog.setval(pg_catalog.pg_get_serial_sequence('permissions', 'permission_id'),". 61 "1, true)") or warn "couldn't set permission sequence: ".$newdbh->errstr."\n";61 "1, false)") or warn "couldn't set permission sequence: ".$newdbh->errstr."\n"; 62 62 # set seq id on default_records since we're inserting more than we retrieved 63 63 $newdbh->do("SELECT pg_catalog.setval(pg_catalog.pg_get_serial_sequence('default_records', 'record_id'),". 64 "1, true)") or warn "couldn't set defrec sequence: ".$newdbh->errstr."\n";64 "1, false)") or warn "couldn't set defrec sequence: ".$newdbh->errstr."\n"; 65 65 } 66 66 }
Note:
See TracChangeset
for help on using the changeset viewer.