No attachments in this thread
Hi all,
Is the following code well formed?
oldContext = MemoryContextSwitchTo(newContext);....if (something_bad) { elog(ERROR, ...);}...MemoryContextSwitchTo(oldContext);
or do I have to ripristinate the oldContext before to issue the elog ?
RegardsGaetano Mendola
Gaetano Mendola <mendola@gmail.com> writes:
No.
regards, tom lane