[Buildbot-commits] [Buildbot] #2119: upgrade-master sets auto-increment counters for id fields incorrectly in postgresql

Buildbot nobody at buildbot.net
Sun Feb 5 00:23:53 UTC 2012


#2119: upgrade-master sets auto-increment counters for id fields incorrectly in
postgresql
---------------------+--------------------
Reporter:  szager    |       Owner:
    Type:  defect    |      Status:  new
Priority:  major     |   Milestone:  0.8.6
 Version:  0.8.4p1   |  Resolution:
Keywords:  database  |
---------------------+--------------------

Comment (by dustin):

 On second thought, I totally see why it would happen -- since all of the
 inserts into changes specify a changeid, the sequence isn't consulted,
 nextval is never called, and .. it stays at 1.

 So, this should have a testcase, and a solution.  Both will need to be
 conditioned on Postgres, since this is a unique case.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2119#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list