Skip to content

Fix bulk inserts for sequece#594

Merged
abnegate merged 6 commits intomainfrom
fix-bulk-insert
May 27, 2025
Merged

Fix bulk inserts for sequece#594
abnegate merged 6 commits intomainfrom
fix-bulk-insert

Conversation

@fogelito
Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines +1148 to +1158
$this->execute($stmt);
$stmt->execute();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the reason we can't move to SQL.php, we need to use the Postgres specific execute method here to handle timeouts

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it .. Fixed
I think we we should abstract this function

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, can you address in another PR? Makes sense to have it adapter level and have only Postgres override the SQL implementation

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

100%

@abnegate abnegate merged commit d4a0a7c into main May 27, 2025
25 of 26 checks passed
@abnegate abnegate deleted the fix-bulk-insert branch May 27, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants