Wrong column default values

From: Andre Rothe <phosco(at)gmx(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Wrong column default values
Date: 2009-09-18 08:24:32
Message-ID: db420c9c-2345-4c06-add7-10ea404e4008@g6g2000vbr.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

I have installed Postgres 8.3.8 on Fedora Linux and I access it per
JDBC (PostgreSQL 8.1 JDBC3 with SSL (build 407)). If I create a table,
the default values will be set by the database to

NULL::timestamp without time zone

for a timezone column and to

NULL::character varying

for a varchar column. How I can prevent such a behaviour? Both column
defaults should be NULL. Any ideas?

Thanks
Andre

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2009-09-18 20:07:52 Re: Wrong column default values
Previous Message John R Pierce 2009-09-17 19:05:11 Re: OOM on large SELECT