BUG #16062: pg_restore using ssl certs - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16062: pg_restore using ssl certs
Date
Msg-id 16062-2cb787113ba2d0ed@postgresql.org
Whole thread Raw
Responses Re: BUG #16062: pg_restore using ssl certs
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16062
Logged by:          Somesh ng
Email address:      somesh.ng@gmail.com
PostgreSQL version: 10.0
Operating system:   Ubuntu
Description:

Can somebody help me in restoring postgres db using SSL certs. I tried in
below way but it didn't work

pg_restore "host=hostname user=username dbname=database_name
sslcert=sslcert.crt sslkey=sslkey.key sslrootcert=sslroot.pem
sslmode=verify-full" -f filename
It gives the below error

pg_restore: [archiver] could not open input file "host=hostname
user=username dbname=database_name sslcert=sslcert.crt sslkey=sslkey.key
sslrootcert=sslroot.pem sslmode=verify-full": No such file or directory


pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #16049: log_line_prefix=%a and log_connections -application_name missing
Next
From: PG Bug reporting form
Date:
Subject: BUG #16063: Error retrieving data from the server: INTERNAL SERVER ERROR: string indices must be integers