diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-05-24 17:56:52 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-05-24 17:57:32 -0400 |
commit | b23aeb6519651146cf35b2b91d24596f37b40794 (patch) | |
tree | 5f1bd4bdffeb9062f3ebcbd6a418ca28158b5e3a /src/backend/access/gist/gistget.c | |
parent | 11c08c3fd79f1fd5a83f9156fc1c43c7be3453ce (diff) | |
download | postgresql-b23aeb6519651146cf35b2b91d24596f37b40794.tar.gz postgresql-b23aeb6519651146cf35b2b91d24596f37b40794.zip |
Cleanup for pull-up-isReset patch.
Clear isReset before, not after, calling the context-specific alloc method,
so as to preserve the option to do a tail call in MemoryContextAlloc
(and also so this code isn't assuming that a failed alloc call won't have
changed the context's state before failing). Fix missed direct invocation
of reset method. Reformat a comment.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions