Re: Fixing the loss of 'template1'

From: Gary Chambers <gwchamb(at)gwcmail(dot)com>
To: Martin Gregorie <martin(at)gregorie(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Fixing the loss of 'template1'
Date: 2012-03-07 14:38:20
Message-ID: alpine.OSX.2.01.1203070935470.2542@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martin,

> 6) The next scheduled backup using pg_dumpall failed immediately because
> it couldn't find 'template1'.

The template1 database is the default database to which pg_dumpall attempts
to connect. If you use the -l or --database option, you can change that and
pg_dumpall will resume functioning as you expect.

--
Gary Chambers

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marti Raudsepp 2012-03-07 14:43:53 Re: Fixing the loss of 'template1'
Previous Message Martin Gregorie 2012-03-07 14:23:42 Fixing the loss of 'template1'