The flag name and its values match libpq's sslmode connection parameter. The default value (prefer) will first try an SSL connection; if that fails, it will try a non-SSL connection. Libpq documentation: https://www.postgresql.org/docs/14/libpq-connect.html#LIBPQ-CONNECT-SSLMODE
17 lines
593 B
Perl
17 lines
593 B
Perl
Skip test if the PostgreSQL driver is not available.
|
|
|
|
$ if [ -z "$SBTEST_HAS_PGSQL" ]
|
|
> then
|
|
> exit 80
|
|
> fi
|
|
|
|
$ sysbench --help | sed -n '/pgsql options:/,/^$/p'
|
|
pgsql options:
|
|
--pgsql-host=STRING PostgreSQL server host [localhost]
|
|
--pgsql-port=N PostgreSQL server port [5432]
|
|
--pgsql-user=STRING PostgreSQL user [sbtest]
|
|
--pgsql-password=STRING PostgreSQL password []
|
|
--pgsql-db=STRING PostgreSQL database name [sbtest]
|
|
--pgsql-sslmode=STRING PostgreSQL SSL mode (disable, allow, prefer, require, verify-ca, verify-full) [prefer]
|
|
|