Soft ceiling on PostgreSQL CRUD sproc parameter counts. PG's hard
FUNC_MAX_ARGS is 100 (compiled into the server, not adjustable on managed
services). 90 leaves 10 args of headroom so adding a column to an entity
near the limit doesn't unexpectedly flip its sproc shape between releases.
Single source of truth for both runtime (PostgreSQLDataProvider.ProcedureParamLimit)
and CodeGen (which doesn't have a live provider instance to query at codegen
time). Bumping this value should regenerate sprocs for any entity newly
crossing the threshold.
Lives in the PG provider package because it's a PG-specific platform
constant; consumers in other packages (CodeGenLib's PG provider, the rules
module via callers passing it as a paramLimit arg) import it from here.
Soft ceiling on PostgreSQL CRUD sproc parameter counts. PG's hard
FUNC_MAX_ARGSis 100 (compiled into the server, not adjustable on managed services). 90 leaves 10 args of headroom so adding a column to an entity near the limit doesn't unexpectedly flip its sproc shape between releases.Single source of truth for both runtime (
PostgreSQLDataProvider.ProcedureParamLimit) and CodeGen (which doesn't have a live provider instance to query at codegen time). Bumping this value should regenerate sprocs for any entity newly crossing the threshold.Lives in the PG provider package because it's a PG-specific platform constant; consumers in other packages (CodeGenLib's PG provider, the rules module via callers passing it as a
paramLimitarg) import it from here.