Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Revision 1.84 of database.pgsql added the following query
ALTER SEQUENCE menu_mid_seq RESTART 2;
in response to issue 10349 (http://drupal.org/node/10349). Unfortunately, this causes an error due to the fact that the SQL script hasn't created that sequence yet.
This patch adds a CREATE SEQUENCE query with the right info in it and removes the bogus ALTER SEQUENCE query.
Comment | File | Size | Author |
---|---|---|---|
#1 | database.pgsql.menuseq2.diff | 721 bytes | danielc |
database.pgsql.menuseq.diff | 364 bytes | danielc | |
Comments
Comment #1
danielc CreditAttribution: danielc commentedUgh. Forgot -u. New patch attached.
Comment #2
danielc CreditAttribution: danielc commentedNow that I look closer at the situation, the "menu_mid_seq" sequence gets automatically created because the "mid" column in the "menu" table is defined as "serial."
Please disregard this patch.