Skip to content

Commit b580a82

Browse files
author
Marina Polyakova
committed
Retire MemoryContextResetAndDeleteChildren() macro.
Caused by the following commits in PostgreSQL: - eaa5808e8ec4e82ce1a87103a6b6f687666e4e4c (PostgreSQL 9.5) Redefine MemoryContextReset() as deleting, not resetting, child contexts. - 6a72c42fd5af7ada49584694f543eb06dddb4a87 (PostgreSQL 17) Retire MemoryContextResetAndDeleteChildren() macro.
1 parent 82e0e10 commit b580a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/shared_ispell.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ dispell_lexize(PG_FUNCTION_ARGS)
633633
* info here
634634
*/
635635

636-
MemoryContextResetAndDeleteChildren(saveInfo.infoCntx);
636+
MemoryContextReset(saveInfo.infoCntx);
637637
MemSet(info, 0, sizeof(*info));
638638

639639
init_shared_dict(info, saveInfo.infoCntx, saveInfo.dictFile,

0 commit comments

Comments
 (0)