From: Matthias Apitz <guru@unixarea.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: DBD::Pg exorts char columns with trailing blanks
Date: Fri, 18 Oct 2019 16:42:26 +0200
Message-ID: <20191018144226.GA2930@c720-r342378> (raw)
In-Reply-To: <29389.1571403718@sss.pgh.pa.us>
References: <80o3yg.pzkkx1.2uoaif-qmf@ms-10.1blu.de>
<29389.1571403718@sss.pgh.pa.us>
El día viernes, octubre 18, 2019 a las 03:01:58p. m. +0200, Tom Lane escribió:
> Matthias Apitz <guru@unixarea.de> writes:
> > When we export char columns with our Perl tools, they come out with trailing blanks (in Sybase they don't). Can this be suppressed?
>
> Switch to varchar, perhaps?
>
> regards, tom lane
Sometimes people does not know, what they propose. We have a historical
25 years grown ILS which runs on top of Sybase, Oracle, Informix ... and
should now be ported to PostgreSQL. We can't simple switch internal
table structures and adopt some 10.000.000 lines of code (or debug while
it is now crashing).
Thanks anyway.
matthias
--
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
3. Oktober! Wir gratulieren! Der Berliner Fernsehturm wird 50
aus: https://www.jungewelt.de/2019/10-02/index.php
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: guru@unixarea.de, tgl@sss.pgh.pa.us
Subject: Re: DBD::Pg exorts char columns with trailing blanks
In-Reply-To: <20191018144226.GA2930@c720-r342378>
References: <80o3yg.pzkkx1.2uoaif-qmf@ms-10.1blu.de> <29389.1571403718@sss.pgh.pa.us> <20191018144226.GA2930@c720-r342378>
* 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