[BUGFIX] Increase sequence if uid gets forced for PostgreSQL 39/54239/2
authorManuel Selbach <manuel_selbach@yahoo.de>
Fri, 24 Feb 2017 09:03:54 +0000 (10:03 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 29 Sep 2017 20:18:02 +0000 (22:18 +0200)
commitc07387b258d9acbb641b900ec66daea95a0e1380
tree89c42a19f8bfa3af0647eca4bbb38bf872955fa6
parent7b83becec34c189d65a23fe554fc990fa6b658bd
[BUGFIX] Increase sequence if uid gets forced for PostgreSQL

If a uid gets forcefully set during a insert into the database
MySQL will automatically update the auto_increment primary key.
Other databases might need post processing, i.e PostgreSQL as
it uses a sequence to generate auto increment uids. Sequences
do not get transparently updated on inserts.

Resolves: #79976
Releases: master, 8.7
Change-Id: I033deb63bf9bc2e072408885a534752573ba4c7c
Reviewed-on: https://review.typo3.org/54239
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInEmptyDatabaseTest.php