Bypass db-max-rows
for RPC
#3576
Labels
idea
Needs of discussion to become an enhancement, not ready for implementation
db-max-rows
for RPC
#3576
Problem
https://postgrest.org/en/v12/references/configuration.html#db-max-rows is enforced for all endpoints, even for RPC.
RPC already offers escape hatches with function settings, but not for this.
Solution
Use the function
ROWS
setting as a way to surpassdb-max-rows
. Having adb-max-rows=1000
, this:Would surpass the
1000
global limit for/rpc/my_fun
.Note: we already use
ROWS
for https://postgrest.org/en/v12/references/api/resource_embedding.html#computed-relationshipsThe text was updated successfully, but these errors were encountered: