From 5eac8bd203f818158915faae7729650fe399417c Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Fri, 3 Apr 2026 17:02:21 -0500 Subject: [PATCH] docs: clarify set operators need views/functions Closes https://github.com/PostgREST/postgrest/issues/4780. --- docs/references/api/url_grammar.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/references/api/url_grammar.rst b/docs/references/api/url_grammar.rst index 36731f7d4..4799d7fa5 100644 --- a/docs/references/api/url_grammar.rst +++ b/docs/references/api/url_grammar.rst @@ -14,7 +14,7 @@ Custom Queries The PostgREST URL grammar limits the kinds of queries clients can perform. It prevents arbitrary, potentially poorly constructed and slow client queries. It's good for quality of service, but means database administrators must create custom views and functions to provide richer endpoints. The most common causes for custom endpoints are -* Table unions +* SET operators like `UNION, INTERSECT and EXCEPT `_. * More complicated joins than those provided by :ref:`resource_embedding`. * Geo-spatial queries that require an argument, like "points near (lat,lon)"