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