pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Doc: caution against misuse of 'now' and related datetime litera
7+ messages / 1 participants
[nested] [flat]

* pgsql: Doc: caution against misuse of 'now' and related datetime litera
@ 2020-10-17 20:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2020-10-17 20:03 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_GxLLPil2...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/540849814cdc22ea025777d374ff6705b4d64a0f

Modified Files
--------------
doc/src/sgml/datatype.sgml | 20 +++++++++++++++++---
doc/src/sgml/func.sgml     |  8 +++++---
2 files changed, 22 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: caution against misuse of 'now' and related datetime litera
@ 2020-10-17 20:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2020-10-17 20:03 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_GxLLPil2...

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/133d06f7bbf5fcf24f1fdbf0e013e30446f61abd

Modified Files
--------------
doc/src/sgml/datatype.sgml | 20 +++++++++++++++++---
doc/src/sgml/func.sgml     |  8 +++++---
2 files changed, 22 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: caution against misuse of 'now' and related datetime litera
@ 2020-10-17 20:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2020-10-17 20:03 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_GxLLPil2...

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c1a3188baeda2414a7a7453917d73aa5db511067

Modified Files
--------------
doc/src/sgml/datatype.sgml | 20 +++++++++++++++++---
doc/src/sgml/func.sgml     |  8 +++++---
2 files changed, 22 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: caution against misuse of 'now' and related datetime litera
@ 2020-10-17 20:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2020-10-17 20:03 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_GxLLPil2...

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3753e2720a9691d38aa85fe1e641ba55703e2a6f

Modified Files
--------------
doc/src/sgml/datatype.sgml | 20 +++++++++++++++++---
doc/src/sgml/func.sgml     |  8 +++++---
2 files changed, 22 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: caution against misuse of 'now' and related datetime litera
@ 2020-10-17 20:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2020-10-17 20:03 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_GxLLPil2...

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3f898c986e39ffe88fb6bbedd71a0b7a0e4d1bc7

Modified Files
--------------
doc/src/sgml/datatype.sgml | 20 +++++++++++++++++---
doc/src/sgml/func.sgml     |  8 +++++---
2 files changed, 22 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: caution against misuse of 'now' and related datetime litera
@ 2020-10-17 20:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2020-10-17 20:03 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_GxLLPil2...

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d317fd7570ca69553eef9a9ec1825967c2680927

Modified Files
--------------
doc/src/sgml/datatype.sgml | 20 +++++++++++++++++---
doc/src/sgml/func.sgml     |  8 +++++---
2 files changed, 22 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: caution against misuse of 'now' and related datetime litera
@ 2020-10-17 20:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2020-10-17 20:03 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_GxLLPil2...

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d74ed6fe6e9314d47f0a995227df896b28cea822

Modified Files
--------------
doc/src/sgml/datatype.sgml | 20 +++++++++++++++++---
doc/src/sgml/func.sgml     |  8 +++++---
2 files changed, 22 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2020-10-17 20:03 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-10-17 20:03 pgsql: Doc: caution against misuse of 'now' and related datetime litera Tom Lane <tgl@sss.pgh.pa.us>
2020-10-17 20:03 pgsql: Doc: caution against misuse of 'now' and related datetime litera Tom Lane <tgl@sss.pgh.pa.us>
2020-10-17 20:03 pgsql: Doc: caution against misuse of 'now' and related datetime litera Tom Lane <tgl@sss.pgh.pa.us>
2020-10-17 20:03 pgsql: Doc: caution against misuse of 'now' and related datetime litera Tom Lane <tgl@sss.pgh.pa.us>
2020-10-17 20:03 pgsql: Doc: caution against misuse of 'now' and related datetime litera Tom Lane <tgl@sss.pgh.pa.us>
2020-10-17 20:03 pgsql: Doc: caution against misuse of 'now' and related datetime litera Tom Lane <tgl@sss.pgh.pa.us>
2020-10-17 20:03 pgsql: Doc: caution against misuse of 'now' and related datetime litera Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox