Re: Perl::DBI and TYPE of column - Mailing list pgsql-general

From Tom Lane
Subject Re: Perl::DBI and TYPE of column
Date
Msg-id 32382.1583246192@sss.pgh.pa.us
Whole thread Raw
In response to Perl::DBI and TYPE of column  (Matthias Apitz <guru@unixarea.de>)
Responses Re: Perl::DBI and TYPE of column
List pgsql-general
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



pgsql-general by date:

Previous
From: Matthias Apitz
Date:
Subject: Perl::DBI and TYPE of column
Next
From: Matthias Apitz
Date:
Subject: Re: Perl::DBI and TYPE of column