From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
Subject: | Re: Large writable variables |
Date: | 2018-10-16 05:02:00 |
Message-ID: | 20181016050200.c65yjz2qgxulgouv@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On 2018-10-15 21:50:51 -0700, Andres Freund wrote:
> .data 0000000000000028 spi_printtupDR
> .data 0000000000000028 printsimpleDR
> .data 0000000000000028 donothingDR
> .data 0000000000000028 debugtupDR
>
> These we could actually make constant, but CreateDestReceiver() as an
> API makes that inconvenient. They also are pretty darn small... There's
> a security benefit in making them constant and casting the constness
> away - I think that might not be insane.
I.e. do something like the attached.
Greetings,
Andres Freund
Attachment | Content-Type | Size |
---|---|---|
const-dest.diff | text/x-diff | 2.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-10-16 05:49:22 | Re: Large writable variables |
Previous Message | Andres Freund | 2018-10-16 04:50:51 | Re: Large writable variables |