Re: requests / suggestions to help with backups

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Erik Jones <erik(at)myemma(dot)com>
Cc: Lou Duchez <lou(at)paprikash(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: requests / suggestions to help with backups
Date: 2007-02-16 04:46:04
Message-ID: 9011.1171601164@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Erik Jones <erik(at)myemma(dot)com> writes:
> Lou Duchez wrote:
>> 2) "pg_dumpall -E". If I could specify a single encoding for all my
>> database dumps, I could use pg_dumpall.

> I guess you missed this:
> http://www.postgresql.org/docs/8.2/interactive/sql-grant.html

Also, on the second point, you can do

export PGCLIENTENCODING=whatever

before running pg_dumpall. A -E switch might be more obvious but it's
not like you can't do it now.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-02-16 04:52:45 Re: Setting up functions in psql.
Previous Message Paul Lambert 2007-02-16 04:13:09 Setting up functions in psql.