Please sign in to comment.
[Postgres provider] Speed up feature insertion when pkid column is no…
…t set (fixes #18976) When inserting features whose attribute column corresponding to the pkid is empty, and tat this pkid column has a default value using a sequence, then we can remove it from the INSERT statement completely, which save us from doing a SELECT nextval(...) for each row. On the provided test case of that ticket, on a debug build, this cuts down the insertion time from 5 minutes to 1 minute 10s.
- Loading branch information
Showing with 35 additions and 7 deletions.