Re: LC_COLLATE and pg_upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If i reinitialize the database cluster, won't i have to pg_dump restore
my data? In this case the downtime would be to big. Therefore I'm
searching for a faster way. 

utf8 and UTF-8, should be the same in my opinion, so i think there must
be a way to just change this value, so that pg_upgrade can do his work,
or is this impossible?

regards

Am Mittwoch, den 16.02.2011, 13:54 +0200 schrieb Peter Eisentraut:
> On mÃn, 2011-02-14 at 14:18 +0100, Bernhard Schrader wrote:
> > As far as I read right now, LC_COLLATE is a read_only variable which
> > is used while initdb. But why does the pg_upgrade script doesn't see
> > that utf8 and UTF-8 are the same? Is it just a string compare? 
> 
> Why don't you just reinitialize your new database cluster with the same
> locale spelling as the old one?
> 
> Your points are valid, but unfortunately difficult to handle in the
> general case.
> 
> 
> 




-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux