Re: timestamp bug 7.4beta3

From: "Nayib Kiuhan" <nayib(at)onlinetec(dot)net>
To: "Neil Conway" <neilc(at)samurai(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: timestamp bug 7.4beta3
Date: 2003-10-15 17:29:57
Message-ID: 000d01c39342$006c2d80$6e01030a@xxx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thank you for your answer. I tried before with 'now()' (inside the single aspen) and didn't work . Now it is working very well without the aspens as you already mentioned. It is a good idea to through out an error during the table creation if the format is not as indicated (now()), because when I created my tables with the old format, it did not show any problem, I just figure out that something was wrong with my tables once my java program start to do weird things.

Again, many thanks,

Nayib

----- Original Message -----
From: "Neil Conway" <neilc(at)samurai(dot)com>
To: "Nayib Kiuhan" <nayib(at)onlinetec(dot)net>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Sent: Wednesday, October 15, 2003 10:50 AM
Subject: Re: [BUGS] timestamp bug 7.4beta3

> On Wed, 2003-10-15 at 02:08, Nayib Kiuhan wrote:
> > In versions before 7.4beta3 I use to have tables with
> > "date" timestamp DEFAULT 'now'
> > It use to works properly, placing the actual date at the moment a new
> > record was inserted. Now it always have the same date which correspond
> > to the date at creating the table.
>
> >From the 7.4 HISTORY file:
>
> 'now' will no longer work as a column default, use now() (change
> required for prepared statements) (Tom)
>
> Admittedly, this change should also be noted in the 'migration to 7.4
> section' of the release notes -- I'll send a patch to this effect to
> pgsql-patches.
>
> -Neil
>
>
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Neil Conway 2003-10-15 18:38:33 Re: timestamp bug 7.4beta3
Previous Message Neil Conway 2003-10-15 14:50:24 Re: timestamp bug 7.4beta3