Re: ALTER TABLE ... SET DEFAULT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brian McCane <bmccane(at)mccons(dot)net>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: ALTER TABLE ... SET DEFAULT
Date: 2002-04-13 00:30:00
Message-ID: 12004.1018657800@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Brian McCane <bmccane(at)mccons(dot)net> writes:
> Been there, done that :). It put the current epoch value in as the
> default value for updated.

That would suggest that you marked since_epoch() as cachable. Wrong
thing to do, if you want it evaluated again every time the default
is used.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Brian McCane 2002-04-13 00:43:17 Re: ALTER TABLE ... SET DEFAULT
Previous Message Tom Lane 2002-04-13 00:27:56 Re: A *short* planner question