Re: pg_restore man page (version 9.4) > -d/dbname clarification request

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Charles <c(at)charlesmatkinson(dot)org>, pgsql-docs(at)postgresql(dot)org
Subject: Re: pg_restore man page (version 9.4) > -d/dbname clarification request
Date: 2017-06-16 14:15:55
Message-ID: 06e8a969-ca83-453b-ed0e-d8e92384eecd@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 6/16/17 01:09, Charles wrote:
> The suggestion was based on how pg_restore behaved when used this way
> (as user postgres on a Debian Jessie server):
>
> $ dropdb redmine_default
> $ pg_restore --create --dbname=postgres
> redmine_default-2017-06-11(at)18\:21\:06.sql

If you are using the --create option, you get a different behavior.
This is pretty explicitly described on the pg_restore man page under
--describe.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2017-06-16 16:42:41 Re: pg_restore man page (version 9.4) > -d/dbname clarification request
Previous Message manish.kumar 2017-06-16 08:52:58 store procedure