Skip to content

Conversation

@steve-chavez
Copy link
Member

Closes #172.

A test is added on a previous commit to ensure the behavior is maintained.

Also, remove PARALLEL SAFE since these functions are really PARALLEL UNSAFE, as mentioned on the docs:

Functions and aggregates must be marked PARALLEL UNSAFE if they write to the database
https://www.postgresql.org/docs/current/parallel-safety.html

@steve-chavez steve-chavez marked this pull request as draft May 23, 2025 23:00
@steve-chavez steve-chavez marked this pull request as ready for review May 23, 2025 23:18
Closes supabase#172.

Remove strict as explained on supabase#172.
A test is added on a previous commit to ensure the behavior is
maintained.

Also, remove PARALLEL SAFE since these functions are really PARALLEL UNSAFE,
as mentioned on the docs:

"Functions and aggregates must be marked PARALLEL UNSAFE if they write to the database,"
https://www.postgresql.org/docs/current/parallel-safety.html

Also remove VOLATILE since it's implicit.
@steve-chavez steve-chavez merged commit fec3853 into supabase:master May 23, 2025
9 checks passed
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.

Remove STRICT from all functions

2 participants