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.

Comments

danielc’s picture

StatusFileSize
new721 bytes

Ugh. Forgot -u. New patch attached.

danielc’s picture

Now 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.