Re: [Doc] pg_restore documentation didn't explain how to use connection string

From: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
To: Lætitia Avrot <laetitia(dot)avrot(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [Doc] pg_restore documentation didn't explain how to use connection string
Date: 2019-05-17 09:26:00
Message-ID: CAC+AXB1vxqDgjdkk+BiKwyj24p+eG9PpWte6KRJhs_sq7LdO8g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 17, 2019 at 9:16 AM Lætitia Avrot <laetitia(dot)avrot(at)gmail(dot)com>
wrote:

>
> Given that, I think it would be a good thing to generalize the -d switch
> (and maybe the --maintenance-db switch too).
>
>
Just a couple of quick comments:

Some of those tools user --dbname as a long option.
Most of those tools also use the connection environment variables used
by libpq: PGDATABASE
Pgbench is documented [1]: pgbench [option...] [dbname]

Regards,

Juan José Santamaría Flecha

[1] https://www.postgresql.org/docs/current/pgbench.html

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lætitia Avrot 2019-05-17 09:38:01 Re: [Doc] pg_restore documentation didn't explain how to use connection string
Previous Message Masahiko Sawada 2019-05-17 09:10:59 Re: vacuumdb and new VACUUM options