[PATCH] Make various variables read-only (const) - Mailing list pgsql-hackers

From Oskari Saarenmaa
Subject [PATCH] Make various variables read-only (const)
Date
Msg-id 20131220170137.GC11358@saarenmaa.fi
Whole thread Raw
Responses Re: [PATCH] Make various variables read-only (const)
Re: [PATCH] Make various variables read-only (const)
List pgsql-hackers
This allows the variables to be moved from .data to .rodata section which
means that more data can be shared by processes and makes sure that nothing
can accidentally overwrite the read-only definitions.  On a x86-64 Linux
system this moves roughly 9 kilobytes of previously writable data to the
read-only data segment in the backend and 4 kilobytes in libpq.

https://github.com/saaros/postgres/compare/constify

24 files changed, 108 insertions(+), 137 deletions(-)

/ Oskari

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: GIN improvements part 1: additional information
Next
From: Josh Berkus
Date:
Subject: Re: make_interval ??