diff --git a/api.rst b/api.rst index 3529b3e19..31fcbb906 100644 --- a/api.rst +++ b/api.rst @@ -193,8 +193,6 @@ The :code:`fts` filter mentioned above has a number of options to support flexib curl "http://localhost:3000/tsearch?my_tsv=not.wfts(french).amusant" -Using phrase search mode requires PostgreSQL of version at least 9.6 and will raise an error in earlier versions of the database. - Using `websearch_to_tsquery` requires PostgreSQL of version at least 11.0 and will raise an error in earlier versions of the database. .. _v_filter: @@ -1677,10 +1675,6 @@ A single row UPSERT can be done by using :code:`PUT` and filtering the primary k All the columns must be specified in the request body, including the primary key columns. -.. note:: - - Upsert features are only available starting from PostgreSQL 9.5 since it uses the `ON CONFLICT clause `_. - .. _delete: Deletions diff --git a/auth.rst b/auth.rst index 8e3383cb0..0c8c50726 100644 --- a/auth.rst +++ b/auth.rst @@ -65,7 +65,7 @@ You can use row-level security to flexibly restrict visibility and access for th We want to enforce a policy that ensures a user can see only those messages sent by him or intended for him. Also we want to prevent a user from forging the message_from column with another person's name. -PostgreSQL (9.5 and later) allows us to set this policy with row-level security: +PostgreSQL allows us to set this policy with row-level security: .. code-block:: postgres diff --git a/install.rst b/install.rst index 2d789ad08..0a454835d 100644 --- a/install.rst +++ b/install.rst @@ -106,7 +106,7 @@ For a complete reference of the configuration file, see :ref:`configuration`. PostgreSQL dependency --------------------- -To use PostgREST you will need an underlying database. We require PostgreSQL 9.5 or greater. You can use something like `Amazon RDS `_ but installing your own locally is cheaper and more convenient for development. You can also run PostgreSQL in a :ref:`docker container`. +To use PostgREST you will need an underlying database. We require PostgreSQL 9.6 or greater. You can use something like `Amazon RDS `_ but installing your own locally is cheaper and more convenient for development. You can also run PostgreSQL in a :ref:`docker container`. Docker ======