pgsql: Fix buggy logic in isTempNamespaceInUse()

2020-01-14 Thread Michael Paquier
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 PGPR

pgsql: Fix buggy logic in isTempNamespaceInUse()

2020-01-14 Thread Michael Paquier
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 PGPR

pgsql: Fix buggy logic in isTempNamespaceInUse()

2020-01-14 Thread Michael Paquier
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 PGPR