Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggAo4-0000Kb-9L for pgsql-general@arkaria.postgresql.org; Sun, 06 Jan 2019 15:57:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ggAo2-0002xk-RM for pgsql-general@arkaria.postgresql.org; Sun, 06 Jan 2019 15:57:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggAo2-0002ww-D2 for pgsql-general@lists.postgresql.org; Sun, 06 Jan 2019 15:57:42 +0000 Received: from smtp32.i.mail.ru ([94.100.177.92]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggAnu-0000Mh-Du for pgsql-general@postgresql.org; Sun, 06 Jan 2019 15:57:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=A19G2KfXTx4gr/rFXLoZuJ+HOKTtUC/B3t+UgX/Njb4=; b=bs9J9tdXpLcmI/9wm/Jj/PUJ1AXUzdvkckQEldYMTlIXOg0reEm6t7CBGqyltVIFXgS7xCFHQ9qnHEO8YVRk/JLQsF+wwCoFVbl57vigr5VaFn0/ZUE2azI+juVrOuOx3uQM6CaT+2Hfh/vTM7damY9WXct7C5nwhoSf/+DBXYc=; Received: by smtp32.i.mail.ru with esmtpa (envelope-from ) id 1ggAnq-0003dw-6y; Sun, 06 Jan 2019 18:57:30 +0300 Subject: Re: Adding new collations after pg_upgrade? To: Tom Lane Cc: "pgsql-general@postgresql.org" References: <25526.1546789893@sss.pgh.pa.us> From: rihad Message-ID: Date: Sun, 6 Jan 2019 19:57:24 +0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <25526.1546789893@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Authentication-Results: smtp32.i.mail.ru; auth=pass smtp.auth=rihad@mail.ru smtp.mailfrom=rihad@mail.ru X-77F55803: 260C666A7D66B36A5A78504BD2AC2941BDD8F2295FF2ADCFDEA457F508FD6C305CE5B5DD654929457ACE58BE941F3042 X-7FA49CB5: 0D63561A33F958A50B1F4B261A32E8AE40BCBA99E621C4298FE85C49224433F58941B15DA834481FA18204E546F3947C2FFDA4F57982C5F4F6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8BF1175FABE1C0F9B6A471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C22498BFD6B1B042489AC3AA81AA40904B5D9CF19DD082D7633A0E7DDDDC251EA7DABD81D268191BDAD3D78DA827A17800CE77E1C1A36D5859E4ACD04E86FAF290E2D40A5AABA2AD3711975ECD9A6C639B01B78DA827A17800CE73C6B22A070A7ED0A2EEEC9F47BF8331475ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC8519DC0BE04022C72727F269C8F02392CD5571747095F342E88FB05168BE4CE3AF X-Mailru-Sender: B19AB4DAF1EA2FB5FF2BC907F1BFFE744AAC451C955BC14A67B2BA4F7C7BD171CF113DD4F50517E8ABBFE0CF075BC50BFB559BB5D741EB96004FA9CEFBA991DA3A5DB60FBEB33A8A0DA7A0AF5A3A8387 X-Mras: OK List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 01/06/2019 07:51 PM, Tom Lane wrote: > rihad writes: >> Hi. on a freshly installed 10.6 I can see all ICU collations added in >> pg_collation schema. Is there a way to have them for an existing >> database cluster? > There's a function called something like pg_import_system_collations. > See documentation. Thanks a lot! postgres=# select pg_import_system_collations('pg_catalog');  pg_import_system_collations -----------------------------                          798 (1 row) postgres=# select pg_import_system_collations('pg_catalog');  pg_import_system_collations -----------------------------                            0 (1 row) > > regards, tom lane > . >