Re: Should we document how column DEFAULT expressions work? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Should we document how column DEFAULT expressions work?
Date
Msg-id 571695.1729139305@sss.pgh.pa.us
Whole thread Raw
In response to Re: Should we document how column DEFAULT expressions work?  (Andrei Lepikhov <lepihov@gmail.com>)
List pgsql-hackers
Andrei Lepikhov <lepihov@gmail.com> writes:
> Pardon the noise, but can you consider the idea of replacing the phrase
> 'data insertion time' with something like 'immediately before the
> insertion operation starts'? Sometimes people (especially younglings)
> ask which time it is precisely: will it differ for each tuple?

If we're discussing the meaning of "now", it's the transaction
start timestamp, cf

https://www.postgresql.org/docs/devel/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT

I do not think other wordings will improve on that.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andrei Lepikhov
Date:
Subject: Re: Should we document how column DEFAULT expressions work?
Next
From: Andrew Bille
Date:
Subject: Re: Failing assertion in predicate.c