Closed (fixed)
Project:
Drupal core
Version:
9.2.x-dev
Component:
postgresql db driver
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2020 at 10:03 UTC
Updated:
31 Dec 2020 at 20:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottThis seems nice.
Comment #3
alexpottComment #4
alexpottLess variables.
Comment #5
mondrakeUnless I'm mistaken, this is reducing PgSql test run times by 3 to 4 minutes?
Comment #6
mondrakeI do not think we need a CR here since this is an implementation detail.
Comment #7
daffie commentedI had my doubts about the if we needed the try-catch part, but I saw in the patch from comment #2 that it did not have the try-catch part and the testbot did not liked that patch.
There is already a lot of inserts being run by the testbot, therefore I do not see the need for extra tests.
To me it is almost RTBC, I have just 1 minor nitpick:
We could add a comment that adding this to the insert statement will have the effect that the insert query will return the last inserted id. As this is not standard SQL.
@mondrake: Good find!
Comment #8
alexpott@daffie fwiw I found this in reviewing #3137883-69: Deprecate passing a StatementInterface object to Connection::query
Comment #9
daffie commentedAll changes in the patch look good to me.
For me it is RTBC.
@alexpott: Then my apologies, its your good find!
Comment #11
catchCommitted 340ff83 and pushed to 9.2.x. Thanks!