perpetual dump/restore problem - Mailing list pgsql-general

From wu_zhong_min@vrane.com
Subject perpetual dump/restore problem
Date
Msg-id 20070704214357.BDEBC214002@ftp.a
Whole thread Raw
Responses Re: perpetual dump/restore problem  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Dear List,

As many of you know every time one wants to upgrade to a major server version, as I want to do now, there is a need for
pg_dumpalland restore.  This is a huge undertaking and requires lots of testing and planning.  I do hope that in the
futurethis requirement will be dropped. 

I am now upgrading from 8.1.9 to 8.2.4 and pg_dumpall gives a dump file which has a command "\connect template0"

Normally template0 does not accept connection but I found a way to make that happen in the documentation on postgresql
website. But is it generally safe to accept the connection for template0 all the time?  Why won't pg_dump include a
lineto accept connection for template0 just before it writes "\connect template0" and then remove the permission after
itis done with template0? 

thanks

Wu Z-m

pgsql-general by date:

Previous
From: Andreas 'ads' Scherbaum
Date:
Subject: Problem with autovacuum and pg_autovacuum
Next
From: Alvaro Herrera
Date:
Subject: Re: Problem with autovacuum and pg_autovacuum