Yes, I think it is because of this code Snippet if (force_terminate) { /* try to terminate backend */ #ifdef HAVE_SETSID kill(-(proc->pid), SIGTERM); #else kill(proc->pid, SIGTERM);
On Tue, Apr 9, 2019 at 3:06 PM Ibrar Ahmed <ibrar.ah...@gmail.com> wrote: > > Is this the intended behavior? SIGTERM is received. > > test=# begin; > BEGIN > test=# create table test(a int); > CREATE TABLE > > > In another terminal drop the database. > > test=# begin; > psql: FATAL: terminating connection due to administrator command > server closed the connection unexpectedly > This probably means the server terminated abnormally > before or while processing the request. > The connection to the server was lost. Attempting reset: Failed. > !> -- Ibrar Ahmed