Author: andy
Description:
In includes/installer/PostgresUpdater.php, there's a function getCoreUpdateList() that returns a list of actions for the updater to take.
There are two actions of adding new sequences:
array( 'addSequence', 'logging_log_id_seq' ),
array( 'addSequence', 'page_restrictions_pr_id_seq' ),
However, after that, it's specified to rename existing sequences to those very names:
array( 'renameSequence', 'log_log_id_seq', 'logging_log_id_seq' ),
array( 'renameSequence', 'pr_id_val', 'page_restrictions_pr_id_seq' ),
Since the updater just created logging_log_id_seq, trying to rename log_log_id_seq to logging_log_id_seq fails.
I commented out the top two lines, dropped the sequence logging_log_id_seq that had been created, and now my update runs correctly, and the old sequence gets a new name.
Version: 1.19.2
Severity: normal