Use a different temp schema name pattern in utility mode
A temp table's schema name is pg_temp_<session_id> in normal mode, in utility mode the name is pg_temp_<backend_id>, however once the normal-mode session id equals to the utility-mode backend id they will conflict with each other and cause catalog corruption on the segment. To fix this issue we changed the name to pg_temp_0<backend_id> in utility mode, this still matches the pattern "pg_temp_[0-9]+", which is expected for temp schema names.
Showing
想要评论请 注册 或 登录