Using Function Filters for Stored Procedures with Predicate Pushdown #2087
-
Hey again Y'all, Quick question on the docs here: https://postgrest.org/en/v9.0/api.html#function-filters I see if I make a function available via Thanks! -Robert |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
To be able to push down filters, the function needs to be inlined. PostgreSQL has a number of requirements for a function to be able to be inlined, see here: https://wiki.postgresql.org/wiki/Inlining_of_SQL_functions#Inlining_conditions_for_table_functions In short: Yes, it should be possible. |
Beta Was this translation helpful? Give feedback.
To be able to push down filters, the function needs to be inlined. PostgreSQL has a number of requirements for a function to be able to be inlined, see here: https://wiki.postgresql.org/wiki/Inlining_of_SQL_functions#Inlining_conditions_for_table_functions
In short: Yes, it should be possible.