On Sat, Feb 18, 2012 at 11:58 AM, Erik Rijkers <e...@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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to