pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rihad <rihad@mail.ru>
To: pgsql-general General <pgsql-general@postgresql.org>
Subject: CREATE COLLATION to match pg_collation data
Date: Sat, 12 Jan 2019 11:19:37 +0400
Message-ID: <94b6ba68-3f7e-d205-d009-219fce1318a6@mail.ru> (raw)

Hi, since pg_import_system_collations() that would solve all this 
doesn't exist in 9.6.x, is there a way to I properly map it to a CREATE 
COLLATE call? Specifically I need to have this collation (from 10.x) in 
9.6.x so it works on FreeBSD:


         collname        | collnamespace | collowner | collprovider | 
collencoding |    collcollate    | collctype     | collversion
------------------------+---------------+-----------+--------------+--------------+-------------------+-------------------+-------------

  az-x-icu               |            11 |        10 | i            
|           -1 | az                | az                | 153.88.34



CREATE COLLATIONname  (
     [ LOCALE =locale, ]
     [ LC_COLLATE =lc_collate, ]
     [ LC_CTYPE =lc_ctype  ]
)
CREATE COLLATIONname  FROMexisting_collation 
https://www.postgresql.org/docs/9.6/sql-createcollation.html Can I just 
not use "create collation", and simply insert the new row as is? Thanks 
for any tips.

view thread (3+ messages)  latest in thread

Message-ID: <94b6ba68-3f7e-d205-d009-219fce1318a6@mail.ru>
Permalink:  ../94b6ba68-3f7e-d205-d009-219fce1318a6@mail.ru/
Also on:    postgresql.org/message-id/94b6ba68-3f7e-d205-d009-219fce1318a6@mail.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: rihad@mail.ru
  Subject: Re: CREATE COLLATION to match pg_collation data
  In-Reply-To: <94b6ba68-3f7e-d205-d009-219fce1318a6@mail.ru>
  References: <94b6ba68-3f7e-d205-d009-219fce1318a6@mail.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox