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 commentedUgh. Forgot -u. New patch attached.
Comment #2
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.