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
Copy file name to clipboardExpand all lines: _includes/parse-server/database.md
+15-1
Original file line number
Diff line number
Diff line change
@@ -28,10 +28,24 @@ The Postgres requirements for Parse Server are:
28
28
* Postgres version 9.5
29
29
* PostGIS extensions 2.3
30
30
31
-
The postgres database adapter will be automatically loaded when you pass a valid postgres URL, for example: `postgres://localhost:5432`.
31
+
The postgres database adapter will be automatically loaded when you pass a valid postgres URL, for example: `postgres://localhost:5432`. The available configuration options through the URL are:
Details about the configuration options can be found on [pg-promise](https://github.com/vitaly-t/pg-promise/wiki/Connection-Syntax). Some useful combinations are below:
38
+
39
+
* SSL with verification - `postgres://localhost:5432/db?ca=/path/to/file`
40
+
* SSL with no verification - `postgres://localhost:5432/db?ssl=true&rejectUnauthorized=false`
32
41
33
42
### Caveats
34
43
35
44
* Join tables are resolved in memory, there is no performance improvements using Postgres over MongoDB for relations or pointers.
36
45
* Mutating the schema implies running ALTER TABLE, therefore we recommend you setup your schema when your tables are not full.
37
46
* Properly index your tables to maximize the performance.
47
+
* The postgres URL for 4.2.0 and below only supports the following configuration options:
0 commit comments