Re: PostgreSQL on z/OS UNIX?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gord Tomlin <gord(dot)tomlin(at)sympatico(dot)ca>
Cc: GavinFlower(at)archidevsys(dot)co(dot)nz, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL on z/OS UNIX?
Date: 2015-02-25 17:12:53
Message-ID: 28548.1424884373@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gord Tomlin <gord(dot)tomlin(at)sympatico(dot)ca> writes:
> EBCDIC doesn't always have to be a show stopper. There are plenty of
> applications that have been ported successfully, and a few (notably
> Python) that haven't gone so well. An easy way to get burned is to make
> ASCII-centric assumptions about collating order, e.g., c'A' > c'1', or
> c'A' < c'a'.

The code's kinda full of those, too :-( --- maybe not directly on the
type of case you mention, but there are definitely assumptions that the
codes for letters and numbers are consecutive, which IIRC EBCDIC fails
to do. We've never spent any effort to avoid that.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Gierth 2015-02-25 17:59:41 Re: collations in shared catalogs?
Previous Message Tom Lane 2015-02-25 17:08:32 Re: collations in shared catalogs?