aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpython.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-10-06 15:15:15 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2010-10-06 15:15:15 -0400
commit9b910def24e85c1c4ff993eae0fe511271fc8682 (patch)
tree3381e0cd65a0927b306cd887ef3b4063108b705e /src/pl/plpython/plpython.c
parentbdf45797abe53a9e2bebd54e5475591e468a0ad1 (diff)
downloadpostgresql-9b910def24e85c1c4ff993eae0fe511271fc8682.tar.gz
postgresql-9b910def24e85c1c4ff993eae0fe511271fc8682.zip
Clean up temporary-memory management during ispell dictionary loading.
Add explicit initialization and cleanup functions to spell.c, and keep all working state in the already-existing ISpellDict struct. This lets us get rid of a static variable along with some extremely shaky assumptions about usage of child memory contexts. This commit is just code beautification and has no impact on functionality or performance, but it opens the way to a less-grotty implementation of Pavel's memory-saving hack, which will follow shortly.
Diffstat (limited to 'src/pl/plpython/plpython.c')
0 files changed, 0 insertions, 0 deletions