Closes https://github.com/PostgREST/postgrest/issues/4755 (cherry picked from commit b6c6bb27a8)
b6c6bb27a8