| 165 | |
| 166 | #ifndef FRONTEND |
| 167 | static inline MemoryContext |
| 168 | MemoryContextSwitchTo(MemoryContext context) |
| 169 | { |
| 170 | MemoryContext old = CurrentMemoryContext; |
| 171 | |
| 172 | CurrentMemoryContext = context; |
| 173 | return old; |
| 174 | } |
| 175 | #endif /* FRONTEND */ |
| 176 | |
| 177 | /* Registration of memory context reset/delete callbacks */ |
no outgoing calls