commit 974562aee92a78be82cf8e broke PostgreSQL installations, fix that diff --git a/maintenance/postgres/tables.sql b/maintenance/postgres/tables.sql new file mode 100644 index d0d1e92..c58409d *** a/maintenance/postgres/tables.sql --- b/maintenance/postgres/tables.sql *************** CREATE SEQUENCE recentchanges_rc_id_seq; *** 398,404 **** CREATE TABLE recentchanges ( rc_id INTEGER NOT NULL PRIMARY KEY DEFAULT nextval('recentchanges_rc_id_seq'), rc_timestamp TIMESTAMPTZ NOT NULL, ! rc_cur_time TIMESTAMPTZ NOT NULL, rc_user INTEGER NULL REFERENCES mwuser(user_id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED, rc_user_text TEXT NOT NULL, rc_namespace SMALLINT NOT NULL, --- 398,404 ---- CREATE TABLE recentchanges ( rc_id INTEGER NOT NULL PRIMARY KEY DEFAULT nextval('recentchanges_rc_id_seq'), rc_timestamp TIMESTAMPTZ NOT NULL, ! rc_cur_time TIMESTAMPTZ NULL, rc_user INTEGER NULL REFERENCES mwuser(user_id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED, rc_user_text TEXT NOT NULL, rc_namespace SMALLINT NOT NULL, diff --git a/includes/installer/PostgresUpdater.php b/includes/installer/PostgresUpdater.php new file mode 100644 index c5c10b3..15e18ed *** a/includes/installer/PostgresUpdater.php --- b/includes/installer/PostgresUpdater.php *************** class PostgresUpdater extends DatabaseUp *** 234,239 **** --- 234,240 ---- array( 'changeNullableField', 'image', 'img_metadata', 'NOT NULL' ), array( 'changeNullableField', 'filearchive', 'fa_metadata', 'NOT NULL' ), array( 'changeNullableField', 'recentchanges', 'rc_cur_id', 'NULL' ), + array( 'changeNullableField', 'recentchanges', 'rc_cur_time', 'NULL' ), array( 'checkOiDeleted' ),