-
+
This option determines whether or with what priority a
SSL> TCP/IP connection will be negotiated with the
server. There are four modes:
+
-
-
sslmode options
-
-
- |
- Option
- Description
-
-
-
-
-
- |
- disable>
-
only try a non-SSL> connection
-
-
- |
- allow>
- connection; if that fails, try an
SSL>
- connection
-
-
- |
- prefer> (default)
-
first try an SSL> connection; if
- that fails, try a non-
SSL>
+
+
sslmode options
+
+
+ |
+ Option
+ Description
+
+
+
+
+
+ |
+ disable>
+
only try a non-SSL> connection
+
+
+ |
+ allow>
+ connection; if that fails, try an
SSL>
connection
-
-
- |
- require>
-
only try an SSL> connection
-
-
-
-
-
+
+
+ |
+ prefer> (default)
+
first try an SSL> connection; if
+ that fails, try a non-
SSL>
+ connection
+
+
+ |
+ require>
+
only try an SSL> connection
+
+
+
+
+
sslmode> is ignored for Unix domain socket