From: | Eugen Konkov <konkove(at)gmail(dot)com> |
---|---|
To: | konkove(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | Re: The option was not described: connection-option |
Date: | 2024-09-19 17:06:21 |
Message-ID: | CAAwmOLxqOTTLrr2kHcKHjyEyAnMuubpV7ah8nd3z9z5FL2xPcg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
Also I have issue with this command:
pg_dump -d 'postgresql://postgres(at)host(dot)internal?sslmode=require' --create
--clean --if-exists mydb
pg_dump: error: too many command-line arguments (first is "userdb")
pg_dump: hint: Try "pg_dump --help" for more information.
I want to connect to 'postgres' database and dump 'mydb', because database
was turned to readonly mode and does not accept connections:
pg_dump -d 'postgresql://postgres(at)host(dot)internal/userdb?sslmode=require'
--create --clean --if-exists
pg_dump: error: connection to server at "host.internal" (172.31.x.x), port
5432 failed: FATAL: database "mydb" is not currently accepting connections
Please note, this is not the question and I am not looking for help. Here I
want to share my use case which is not covered in doc. Eg `-d XXX` option
with `dbname` parameter.
On Thu, Sep 19, 2024 at 12:47 PM PG Doc comments form <
noreply(at)postgresql(dot)org> wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/16/app-pgdump.html
> Description:
>
> Hi.
>
> The option `connection-option` is mentioned but is not described.
>
> Please describe it.
> Thanks.
>
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2024-09-19 17:36:51 | Re: 15.7 and 16.3 release notes are exactly the same on postgresql.org |
Previous Message | PG Doc comments form | 2024-09-19 16:46:10 | The option was not described: connection-option |