Skip site navigation (1) Skip section navigation (2)

datetime default 'now' broken?

From: Brett McCormickS <brett(at)abraxas(dot)scene(dot)com>
To: pgsql-bugs(at)hub(dot)org, pgsql-hackers(at)hub(dot)org
Subject: datetime default 'now' broken?
Date: 1998-03-16 00:46:54
Message-ID: 199803160046.QAA32180@abraxas.scene.com (view raw or flat)
Thread:
Lists: pgsql-hackers
If I create a table with a datetime field with a default of 'now', every insert
the value is the time of table creation instead of the time of insert, which is how it behaved
in previous releases (I think this was even documented).

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-03-16 02:31:32
Subject: Re: [HACKERS] Small changes for the "no excuses" release
Previous:From: Brian GrossmanDate: 1998-03-15 23:50:15
Subject: Re: [QUESTIONS] using composite types

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group