Neil Conway <[EMAIL PROTECTED]> writes:
> I agree that this kind of silent backward-incompatibility isn't good,

It's unpleasant, but we were going to have to bite this bullet sooner or
later.  Allowing 'now' to work like a non-constant in this context was
always a fragile hack.

> Tom, can we improve the upgrade experience in this case?

I don't see any very simple way; certainly not anything I'd want to
stick in in a last-minute fashion.  There are too many possible
representations of 'now', and if we did try to substitute now() we'd
be disabling a legal (if possibly useless) behavior.

It's not like it's hard to fix post-upgrade (or pre-upgrade, for that
matter): a simple "ALTER TABLE ... SET DEFAULT now()" will do it.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to