mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-27 23:31:51 +02:00
0d79c0a8cc
These changes should generally improve correctness/maintainability. A nice side benefit is that several kilobytes move from initialized data to text segment, allowing them to be shared across processes and probably reducing copy-on-write overhead while forking a new backend. Unfortunately this doesn't seem to help libpq in the same way (at least not when it's compiled with -fpic on x86_64), but we can hope the linker at least collects all nominally-const data together even if it's not actually part of the text segment. Also, make pg_encname_tbl[] static in encnames.c, since there seems no very good reason for any other code to use it; per a suggestion from Wim Lewis, who independently submitted a patch that was mostly a subset of this one. Oskari Saarenmaa, with some editorialization by me |
||
---|---|---|
.. | ||
dict_ispell.c | ||
dict_simple.c | ||
dict_synonym.c | ||
dict_thesaurus.c | ||
dict.c | ||
hunspell_sample.affix | ||
ispell_sample.affix | ||
ispell_sample.dict | ||
Makefile | ||
regis.c | ||
spell.c | ||
synonym_sample.syn | ||
thesaurus_sample.ths | ||
to_tsany.c | ||
ts_locale.c | ||
ts_parse.c | ||
ts_selfuncs.c | ||
ts_typanalyze.c | ||
ts_utils.c | ||
wparser_def.c | ||
wparser.c |