Re: Strange behavior of function date_trunc - Mailing list pgsql-general

From David G. Johnston
Subject Re: Strange behavior of function date_trunc
Date
Msg-id CAKFQuwah23MXaq=hO8HvHJc3b9Thb9LR_HP3DgUpYuUKxtXemQ@mail.gmail.com
Whole thread Raw
In response to Re: Strange behavior of function date_trunc  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Strange behavior of function date_trunc
List pgsql-general
On Thu, May 6, 2021 at 6:44 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
This case is the reason we invented the "stable" attribute to begin
with.  People have since misinterpreted it as authorizing caching of
function results, but that's not what it was intended for.


This is a good paragraph...if something like it gets added to the create function documentation mis-interpretations are likely to decrease.  I personally did not draw this conclusion after having read that particular piece of documentation multiple times over the years.

David J.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Strange behavior of function date_trunc
Next
From: Thomas Boussekey
Date:
Subject: [RPM/CentOS7] Need to disable repo_gpgcheck on pgdg-common when using RPM version 42.0-17.1