From: George Neuner <gneuner2@comcast.net>
To: pgsql-general@postgresql.org
Subject: Re: Is it possible to sort strings in EBCDIC order in PostgreSQL server?
Date: Tue, 12 Dec 2017 13:15:31 -0500
Message-ID: <l0603d5e8a3g5km708bp55cq5eg3il1j2q@4ax.com> (raw)
References: <0A3221C70F24FB45833433255569204D1F84A7AD@G01JPEXMBYT05>
<CAH2-Wzkoc3pD3SR=MA=W4FyHFicDypcw2NGUEZDdWbODHiTbKg@mail.gmail.com>
<0A3221C70F24FB45833433255569204D1F84DD45@G01JPEXMBYT05>
<CAAJSdjhQf1ajbsZhwtBVhD8sTRKfPQmao-cFL4P2wT1-oncTDw@mail.gmail.com>
On Tue, 12 Dec 2017 07:18:10 -0600, John McKown
<john.archie.mckown@gmail.com> wrote:
>?This is a guess on my part, based on many years on an EBCDIC system. But
>I'll bet that they are doing a conversion off of the EBCDIC system (maybe
>Db2 on z/OS) to an ASCII system (Linux or Windows) running PostgreSQL. They
>want to be able to compare the output from the existing system to the
>output on the new system.
[he asks naively:]
If a port off the EBCDIC system really is the case, wouldn't it be
easier just to write an external compare tool? Or maybe a PG
function to convert UTF strings as EBCDIC so as to compare string
column dumps?
Either of the above seems more rational than putting a whole lot of
effort into creating an EBCDIC collation.
[Not that it is terribly hard to create a new collation. It's more a
matter of "why bother?" when you are trying to move away from that
system in the 1st place.]
YMMV,
George
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: gneuner2@comcast.net
Subject: Re: Is it possible to sort strings in EBCDIC order in PostgreSQL server?
In-Reply-To: <l0603d5e8a3g5km708bp55cq5eg3il1j2q@4ax.com>
References: <0A3221C70F24FB45833433255569204D1F84A7AD@G01JPEXMBYT05> <CAH2-Wzkoc3pD3SR=MA=W4FyHFicDypcw2NGUEZDdWbODHiTbKg@mail.gmail.com> <0A3221C70F24FB45833433255569204D1F84DD45@G01JPEXMBYT05> <CAAJSdjhQf1ajbsZhwtBVhD8sTRKfPQmao-cFL4P2wT1-oncTDw@mail.gmail.com> <l0603d5e8a3g5km708bp55cq5eg3il1j2q@4ax.com>
* 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