Re: pg_restore ignores PGDATABASE - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_restore ignores PGDATABASE
Date
Msg-id CA+TgmoZ1kyWcpxdLHQhaNM4wni5rKzNO4abU8YYxr80r8oKLig@mail.gmail.com
Whole thread Raw
In response to pg_restore ignores PGDATABASE  ("Erik Rijkers" <er@xs4all.nl>)
Responses Re: pg_restore ignores PGDATABASE  ("Erik Rijkers" <er@xs4all.nl>)
List pgsql-hackers
On Sat, Feb 18, 2012 at 11:58 AM, Erik Rijkers <er@xs4all.nl> wrote:
> pg_restore ignores environment variable PGDATABASE.

What exactly do you mean by "ignores"?  pg_restore prints results to
standard output unless a database name is specified.  AFAIK, there's
no syntax to say "I want a direct-to-database restore to whatever you
think the default database is".

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: wal_buffers
Next
From: "Erik Rijkers"
Date:
Subject: Re: pg_restore ignores PGDATABASE