Re: Postgres Backup and Restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Phillip Smith" <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgres Backup and Restore
Date: 2008-02-10 23:40:21
Message-ID: 11579.1202686821@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Phillip Smith" <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au> writes:
> I've been thinking about this, and while I don't agree it's a bug, I think
> that perhaps PostgreSQL should raise a notice or warning that the
> destination database has different encoding than the file being restored...?

If Postgres actually *knows* that the encodings are different, it can
deal with that. The cases that are problematic are where the software
has been misinformed for one reason or another. I doubt that a warning
issued (or not) on the basis of misinformation will be especially helpful.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2008-02-10 23:47:56 Re: Getting "ERROR: canceling autovacuum task"
Previous Message Phillip Smith 2008-02-10 22:59:51 Re: Postgres Backup and Restore