| From: | Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: When IMMUTABLE is not. |
| Date: | 2023-06-15 13:52:42 |
| Message-ID: | 2d38e3c1-6eab-df25-2f27-6c506588070c@postgrespro.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
15.06.2023 16:21, Tom Lane wrote:
> Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru> writes:
>> I found, than declaration of function as IMMUTABLE/STABLE is not enough to be sure
>> function doesn't manipulate data.
> Of course not. It is the user's responsibility to mark functions
> properly. Trying to enforce that completely is a fool's errand
https://github.com/postgres/postgres/commit/b2c4071299e02ed96d48d3c8e776de2fab36f88c.patch
https://github.com/postgres/postgres/commit/cdf8b56d5463815244467ea8f5ec6e72b6c65a6c.patch
| From | Date | Subject | |
|---|---|---|---|
| Next Message | chap | 2023-06-15 13:58:39 | Re: When IMMUTABLE is not. |
| Previous Message | Amit Langote | 2023-06-15 13:49:52 | Re: obsolete filename reference in parser README |