> > Not kill -9. Kill -9 is "safe" because it causes a complete > restart of > > the postmaster (it's the same as a backend crash, really). > Kill -INT > > is also safe, because it does a simlpe query cancel. > > I don't recall exactly; AFAIR this was discussed between Dave > and Tom. > Actually, *both* should be accessible (maybe with some > restriction making it difficult to call it from an sql cmd line)
Actually, I take the blame for starging that discussion - it started when I craeted the pg_cancel_backend / pg_kill_backend questions. Now, I *want* these functions. But I want them to be safe :-) (I want kill -TERM on the commandline to be safe as well!) //Magnus ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match