Skip to content

fix: parse support of delete() functions - #774

Merged
psteinroe merged 3 commits into
supabase-community:mainfrom
lneves12:lneves/fix_delete
Jul 24, 2026
Merged

fix: parse support of delete() functions#774
psteinroe merged 3 commits into
supabase-community:mainfrom
lneves12:lneves/fix_delete

Conversation

@lneves12

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Extensions like hstore or custom functions named delete break the parser as the parser thinks the token is a delete from statement

What is the current behavior?

Extensions like hstore or custom functions named delete break the parser as the parser thinks the token is a delete from

What is the new behavior?

Checks if the next character is a ( to distinguish both tokens

lneves12 added 3 commits July 23, 2026 20:56
Ensure array- and hstore-argument variants remain valid function calls during statement splitting.
@psteinroe
psteinroe merged commit a00dbe6 into supabase-community:main Jul 24, 2026
9 checks passed
@lneves12

Copy link
Copy Markdown
Contributor Author

@psteinroe thanks for merging this one so quickly! When is the next npm release planned? Let me know if there is anything I can help with!

@psteinroe

Copy link
Copy Markdown
Collaborator

@psteinroe thanks for merging this one so quickly! When is the next npm release planned? Let me know if there is anything I can help with!

@lneves12 sorry, I created the draft release on friday but forgot to go through with it. it will be there any minute!

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