Re: pg_restore ignores PGDATABASE

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_restore ignores PGDATABASE
Date: 2012-02-19 05:27:59
Message-ID: CA+TgmoZ1kyWcpxdLHQhaNM4wni5rKzNO4abU8YYxr80r8oKLig@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Feb 18, 2012 at 11:58 AM, Erik Rijkers <er(at)xs4all(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Erik Rijkers 2012-02-19 06:18:56 Re: pg_restore ignores PGDATABASE
Previous Message Robert Haas 2012-02-19 05:24:12 wal_buffers