=?EUC-KR?B?s+vH9ryu?=<noh019@naver.com> writes:
> $ kill -9 5143
[ and all the other backends disappear too ]
> Could you teach me, Is this expected behavior ?
Yes. That is not the recommended way to kill a backend.
Try pg_terminate_backend().
regards, tom lane