Index: database/updates.inc =================================================================== RCS file: /cvs/drupal/drupal/database/updates.inc,v retrieving revision 1.100.2.5 diff -u -p -r1.100.2.5 updates.inc --- database/updates.inc 7 May 2005 08:36:24 -0000 1.100.2.5 +++ database/updates.inc 16 Aug 2005 17:17:15 -0000 @@ -2384,9 +2384,9 @@ function update_131() { elseif ($GLOBALS['db_type'] == 'pgsql') { $ret[] = update_sql("ALTER TABLE {locales_source} RENAME location TO location_old"); $ret[] = update_sql("ALTER TABLE {locales_source} ADD location varchar(255)"); + $ret[] = update_sql("UPDATE {locales_source} SET location = location_old"); $ret[] = update_sql("ALTER TABLE {locales_source} ALTER location SET NOT NULL"); $ret[] = update_sql("ALTER TABLE {locales_source} ALTER location SET DEFAULT ''"); - $ret[] = update_sql("UPDATE {locales_source} SET location = location_old"); $ret[] = update_sql("ALTER TABLE {locales_source} DROP location_old"); }