From f33bccbcdba45358b9399e71e0cb119d06631375 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 18 Feb 2024 16:30:45 +0100 Subject: [PATCH] docs: Use port 5432 in tutorial 0 to avoid connecting to the wrong server Some users connect PostgREST to the wrong PostgreSQL instance - likely because they are not even aware that another instance is running. By using the standard port 5432 instead of 5433, we avoid this problem. The user will be made aware very early that they have another postgresql instance running - and can solve the problem at this stage. If they decide to change the port, they are much more likely to remember that in the later stages of the tutorial, too. Resolves https://github.com/PostgREST/postgrest-docs/issues/304 --- docs/tutorials/tut0.rst | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/tut0.rst b/docs/tutorials/tut0.rst index 0a26eb920..42ed6d947 100644 --- a/docs/tutorials/tut0.rst +++ b/docs/tutorials/tut0.rst @@ -29,11 +29,22 @@ If Docker is not installed, you can get it `here `, but this is all we need. If you are not using Docker, make sure that your port number is correct and replace `postgres` with the name of the database where you added the todos table. +.. note:: + + In case you had to adjust the port in Step 2, remember to adjust the port here, too! + Now run the server: .. code-block:: bash