Re: [PATCHES] client_encoding in dump file - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PATCHES] client_encoding in dump file
Date
Msg-id 200402112220.i1BMK6t22977@candle.pha.pa.us
Whole thread Raw
Responses Re: [PATCHES] client_encoding in dump file
List pgsql-hackers
Pavel Stehule wrote:
> Hello
> 
> I send my first patch for PostgreSQL - maybe ugly patch. This patch 
> generate on top of dump file line with setting of current encoding. Its 
> useful for languages like czech with more than one wide used encoding.
> We need informations about used encoding. 

I found this patch intersting.  How do we deal with restoring a database
with a different encoding from the one dumped.  Does having SET at the
top help?  (Also, we use diff -c.)

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Request for additional SPI functions.
Next
From: Tom Lane
Date:
Subject: Circular-freelist bug is still there