From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthias Apitz <guru@unixarea.de>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: DBD::Pg exorts char columns with trailing blanks
Date: Fri, 18 Oct 2019 15:01:58 +0200
Message-ID: <29389.1571403718@sss.pgh.pa.us> (raw)
In-Reply-To: <80o3yg.pzkkx1.2uoaif-qmf@ms-10.1blu.de>
References: <80o3yg.pzkkx1.2uoaif-qmf@ms-10.1blu.de>
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
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: tgl@sss.pgh.pa.us, guru@unixarea.de
Subject: Re: DBD::Pg exorts char columns with trailing blanks
In-Reply-To: <29389.1571403718@sss.pgh.pa.us>
References: <80o3yg.pzkkx1.2uoaif-qmf@ms-10.1blu.de> <29389.1571403718@sss.pgh.pa.us>
* 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