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
The `--ready` flag is a wrapper around the admin server
`/ready` request. This is done through using an http client
library in postgrest.
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
Copy file name to clipboardExpand all lines: docs/references/cli.rst
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,3 +49,12 @@ Dump Schema
49
49
$ postgrest [--dump-schema]
50
50
51
51
Dumps the schema cache in JSON format.
52
+
53
+
Ready Flag
54
+
----------
55
+
56
+
.. code:: bash
57
+
58
+
$ postgrest [--ready]
59
+
60
+
This is analogous to the ``/ready`` endpoint in :ref:`admin_server`. However, instead of an HTTP response, this exits with return code of ``0`` on success and ``1`` on failure.
0 commit comments