Re: Changing collate & ctype for an existing database

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "'rihad *EXTERN*'" <rihad(at)mail(dot)ru>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Changing collate & ctype for an existing database
Date: 2017-07-14 09:41:12
Message-ID: A737B7A37273E048B164557ADEF4A58B53A82BF0@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

rihad wrote:
> Btw, can we wrap the update of datcollate &datctype and rebuilding of
> textual indices inside a transaction with effectively 0 downtime?

No. Building indexes takes time and will lock the tables
until the transaction is done.

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message marcelo 2017-07-14 10:00:49 What is exactly a schema?
Previous Message Gregory Nicol 2017-07-14 09:02:50 Re: LDAP authentication without OU in ldapbasedn