Re: Perl::DBI and TYPE of column

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthias Apitz <guru(at)unixarea(dot)de>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Perl::DBI and TYPE of column
Date: 2020-03-03 14:36:32
Message-ID: 32382.1583246192@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Matthias Apitz <guru(at)unixarea(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matthias Apitz 2020-03-03 14:51:38 Re: Perl::DBI and TYPE of column
Previous Message Matthias Apitz 2020-03-03 14:02:25 Perl::DBI and TYPE of column