From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Add const to values and nulls arguments |
Date: | 2023-10-06 13:11:50 |
Message-ID: | 14c31f4a-0347-0805-dce8-93a9072c05a5@eisentraut.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
There are a lot of Datum *values, bool *nulls argument pairs that should
really be const. The 0001 patch makes those changes. Some of these
hunks depend on each other.
The 0002 patch, which I'm not proposing to commit at this time, makes
similar changes but in a way that breaks the table and index AM APIs.
So I'm just including that here in case anyone wonders, why didn't you
touch those. And also maybe if we ever change that API incompatibly we
could throw this one in then.
Attachment | Content-Type | Size |
---|---|---|
0001-Add-const-to-values-and-nulls-arguments.patch | text/plain | 27.9 KB |
0002-WIP-Add-const-to-values-and-nulls-arguments-with-ext.patch | text/plain | 22.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2023-10-06 13:13:57 | Re: ALTER COLUMN ... SET EXPRESSION to alter stored generated column's expression |
Previous Message | James Coleman | 2023-10-06 13:10:15 | Re: RFC: Logging plan of the running query |