-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: only GRANT when ingesting into a new table
Copying the SELECT permissions on each batch is semantically fine, but - Unnecessary at best - And at worst, can cause hanging and "tuple concurrently updated" errors when other clients try to do GRANT SELECT on the tables in question This change makes it so the copy of SELECT privileges only happens when we ingest the first batch into a new table, and never otherwise.
- Loading branch information
Showing
1 changed file
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters