Thread: default value problem in postgresql 7.4.5-2

default value problem in postgresql 7.4.5-2

From
Frans
Date:
Hello All,

I have just upgrade my postgresql to 7.4.5-2, but I have problem with
default value in postgresql 7.4.5-2, everytime I set default value for
varchar or timestamp fields, the result value always change to
sometihing like this :
I set the default value to '1900-01-01 00:00:00' , but the result is
           '1900-01-01 00:00:00'::timestamp without time zone
I've tried to erase the "::timestamp withut time zone" but it didn't work.

this problem never occurs in postgresql 7.3.4.

Is there any solusion for my problem?

thanks....


--
Best Regards,

Frans Gunawan
fransgunawan@gmail.com

Re: default value problem in postgresql 7.4.5-2

From
Tom Lane
Date:
Frans <fransgunawan@gmail.com> writes:
> I set the default value to '1900-01-01 00:00:00' , but the result is
>            '1900-01-01 00:00:00'::timestamp without time zone

Why is this a problem?

            regards, tom lane