diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-10-17 16:02:47 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-10-17 16:02:47 -0400 |
commit | 3753e2720a9691d38aa85fe1e641ba55703e2a6f (patch) | |
tree | 23914fd3ffe44b9d7f2611bc5bcb6a6b8f39fc09 /src/bin/scripts/common.c | |
parent | b39c94097da968cccdd68bf8f08b386667421a1c (diff) | |
download | postgresql-3753e2720a9691d38aa85fe1e641ba55703e2a6f.tar.gz postgresql-3753e2720a9691d38aa85fe1e641ba55703e2a6f.zip |
Doc: caution against misuse of 'now' and related datetime literals.
Section 8.5.1.4, which defines these literals, made only a vague
reference to the fact that they might be evaluated too soon to be
safe in non-interactive contexts. Provide a more explicit caution
against misuse. Also, generalize the wording in the related tip in
section 9.9.4: while it clearly described this problem, it implied
(or really, stated outright) that the problem only applies to table
DEFAULT clauses.
Per gripe from Tijs van Dam. Back-patch to all supported branches.
Discussion: https://postgr.es/m/c2LuRv9BiRT3bqIo5mMQiVraEXey_25B4vUn0kDqVqilwOEu_iVF1tbtvLnyQK7yDG3PFaz_GxLLPil2SDkj1MCObNRVaac-7j1dVdFERk8=@thalex.com
Diffstat (limited to 'src/bin/scripts/common.c')
0 files changed, 0 insertions, 0 deletions