pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthias Apitz <guru@unixarea.de>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Perl::DBI and TYPE of column
Date: Tue, 03 Mar 2020 09:36:32 -0500
Message-ID: <32382.1583246192@sss.pgh.pa.us> (raw)
In-Reply-To: <20200303140225.GA26410@sh4-5.1blu.de>
References: <20200303140225.GA26410@sh4-5.1blu.de>

Matthias Apitz <guru@unixarea.de> writes:
> During unload trailing blanks in all columns are discarded, because they
> would cause problems during loading for INT and DATE columns.

Really?

regression=# select '123  '::int;
 int4 
------
  123
(1 row)

regression=# select '12-02-2019  '::date;
    date    
------------
 2019-12-02
(1 row)

			regards, tom lane





view thread (5+ messages)  latest in thread

Message-ID: <32382.1583246192@sss.pgh.pa.us>
Permalink:  ../32382.1583246192@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/32382.1583246192@sss.pgh.pa.us

 · 

reply

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: Perl::DBI and TYPE of column
  In-Reply-To: <32382.1583246192@sss.pgh.pa.us>
  References: <20200303140225.GA26410@sh4-5.1blu.de> <32382.1583246192@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