? Success

User tests: Successful: Unsuccessful:

avatar vdespa
vdespa
13 Mar 2014

Steps to reproduce the issue

Install sample data.

After this inserting a new article will fail. because it will try to insert it with id=1 (sequence was not incremented). PostgreSQL works a bit different from MySQL.

Expected result

No issues inserting new data after sample was installed.

Actual result

Fatal SQL errors because of duplicate keys.

System information (as much as possible)

PostgreSQL 9.3

Additional comments

After insertions, the sequence needs to be updated to the max value of the PK in the table.

avatar vdespa vdespa - open - 13 Mar 2014
avatar vdespa vdespa - change - 13 Mar 2014
Labels Added: ? ?
avatar infograf768 infograf768 - change - 28 Apr 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-04-28 08:00:30
avatar infograf768 infograf768 - close - 28 Apr 2014
avatar infograf768 infograf768 - reference | 276b040 - 28 Apr 14
avatar infograf768 infograf768 - merge - 28 Apr 2014
avatar infograf768 infograf768 - close - 28 Apr 2014
avatar Bakual Bakual - reference | b33f6b3 - 12 May 14

Add a Comment

Login with GitHub to post a comment