aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor/nodeModifyTable.h
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-01-15 13:58:41 +0900
committerMichael Paquier <michael@paquier.xyz>2020-01-15 13:58:41 +0900
commit0fca3d0a4ec297bff5a5cb01dfe345e0f63d7d63 (patch)
tree962c344943e01846c6e1739c7e1e4a82555c28a1 /src/include/executor/nodeModifyTable.h
parent29af9c542f6cdc9a6456b175fdcdfe7a28b77d6c (diff)
downloadpostgresql-0fca3d0a4ec297bff5a5cb01dfe345e0f63d7d63.tar.gz
postgresql-0fca3d0a4ec297bff5a5cb01dfe345e0f63d7d63.zip
Fix buggy logic in isTempNamespaceInUse()
The logic introduced in this routine as of 246a6c8 would report an incorrect result when a session calls it to check if the temporary namespace owned by the session is in use or not. It is possible to optimize more the routine in this case to avoid a PGPROC lookup, but let's keep the logic simple. As this routine is used only by autovacuum for now, there were no live bugs, still let's be correct for any future code involving it. Author: Michael Paquier Reviewed-by: Julien Rouhaud Discussion: https://postgr.es/m/20200113093703.GA41902@paquier.xyz Backpatch-through: 11
Diffstat (limited to 'src/include/executor/nodeModifyTable.h')
0 files changed, 0 insertions, 0 deletions