You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
postgrest: max_affected keeps conflicting handling and earlier limits #1826
PostgREST uses the first occurrence of a preference. handling=lenient therefore wins, while max-affected requires strict handling. An application can ask for a one-row limit without the server applying that guard.
The earlier limit of 10 wins over the later limit of 1. This also affects updates and the async client.
Expected: one handling=strict preference and one max-affected preference containing the latest value. Other preferences should stay intact.
I reproduced the generated headers locally; no database requests were sent. PostgREST's parser documents its first-value behavior (link), and its maximum-affected reference explains the strict-handling requirement (link).
Activity