Ok, -d intended as the database to connect to, makes sense. Not the words of the documentation (-C --create): “When this option is used, the database named with -d is used only to issue the initial DROP DATABASE and CREATE DATABASE commands.”! Thanks for the clarification, matt On Fri, Oct 7, 2016 at 5:32 AM, Matteo Fabbri <ma.fabbri@xxxxxxxxxxxxxx> wrote:
Think of it this way, if you have a completely new empty PostgreSQL install, and you have a dump of 'testdb' you want to restore, you can't use '-d testdb' because you can't connect to a db that doesn't exist yet.
-- { "phone" : "+1 732 339 3419 x163" } |