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 16:42:41
Message-ID: 2c97b83b-0c0d-8a8a-e729-5911da5406cc@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 6/16/17 10:15, Peter Eisentraut wrote:
> 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.

I mean under --create.

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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2017-06-17 14:31:28 Re: store procedure
Previous Message Peter Eisentraut 2017-06-16 14:15:55 Re: pg_restore man page (version 9.4) > -d/dbname clarification request