Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iLRtO-0003zI-Tg for pgsql-general@arkaria.postgresql.org; Fri, 18 Oct 2019 13:02:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iLRtN-0006xt-Lq for pgsql-general@arkaria.postgresql.org; Fri, 18 Oct 2019 13:02:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iLRtN-0006xc-BF for pgsql-general@lists.postgresql.org; Fri, 18 Oct 2019 13:02:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iLRtK-00043A-Vb for pgsql-general@lists.postgresql.org; Fri, 18 Oct 2019 13:02:04 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x9ID1xnH028504; Fri, 18 Oct 2019 09:01:59 -0400 From: Tom Lane To: Matthias Apitz cc: pgsql-general@lists.postgresql.org Subject: Re: DBD::Pg exorts char columns with trailing blanks In-reply-to: <80o3yg.pzkkx1.2uoaif-qmf@ms-10.1blu.de> References: <80o3yg.pzkkx1.2uoaif-qmf@ms-10.1blu.de> Comments: In-reply-to Matthias Apitz message dated "Fri, 18 Oct 2019 12:19:37 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29388.1571403718.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 18 Oct 2019 15:01:58 +0200 Message-ID: <29389.1571403718@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Matthias Apitz writes: > When we export char columns with our Perl tools, they come out with tra= iling blanks (in Sybase they don't). Can this be suppressed? Switch to varchar, perhaps? regards, tom lane