Re: [PATCHES] pgkill for windows

2004-05-20 Thread Andrew Dunstan
Bruce Momjian said: > > I was hoping to avoid platform-specific binaries. Once pg_ctl is done > in C, it can start/stop the postmaster, but not individual backends. > Can we add a flag to pg_ctl so it can send arbitrary signals to > processed on Win32? That would be best, I think. > Ok, that mak

Re: [PATCHES] pgkill for windows

2004-05-19 Thread Bruce Momjian
I was hoping to avoid platform-specific binaries. Once pg_ctl is done in C, it can start/stop the postmaster, but not individual backends. Can we add a flag to pg_ctl so it can send arbitrary signals to processed on Win32? That would be best, I think. --

Re: [PATCHES] pgkill for windows

2004-05-11 Thread Magnus Hagander
> > >>Attached are 2 files needed to create a pgkill facility > for Windows, > > >>and a complementary patch for src/bin/Makefile > > >> > > >> > > > > > >If it's only for the regression tests, then it should go into that > > >directory. > > > > > > > > > > > > > > > > In effect you need

Re: [PATCHES] pgkill for windows

2004-05-11 Thread Bruce Momjian
Andrew Dunstan wrote: > >>Attached are 2 files needed to create a pgkill facility for Windows, > >>and a complementary patch for src/bin/Makefile > >> > >> > > > >If it's only for the regression tests, then it should go into that > >directory. > > > > > > > > > > In effect you need this on

Re: [PATCHES] pgkill for windows

2004-05-11 Thread Andrew Dunstan
Peter Eisentraut wrote: Andrew Dunstan wrote: Attached are 2 files needed to create a pgkill facility for Windows, and a complementary patch for src/bin/Makefile If it's only for the regression tests, then it should go into that directory. In effect you need this on Windows anywhere

Re: [PATCHES] pgkill for windows

2004-05-11 Thread Magnus Hagander
> Andrew Dunstan wrote: > > Attached are 2 files needed to create a pgkill facility for > Windows, > > and a complementary patch for src/bin/Makefile > > If it's only for the regression tests, then it should go into > that directory. It is not. It is a tool required to do any "controlled backe

Re: [PATCHES] pgkill for windows

2004-05-11 Thread Peter Eisentraut
Andrew Dunstan wrote: > Attached are 2 files needed to create a pgkill facility for Windows, > and a complementary patch for src/bin/Makefile If it's only for the regression tests, then it should go into that directory. ---(end of broadcast)--- TI

[PATCHES] pgkill for windows

2004-05-10 Thread Andrew Dunstan
Attached are 2 files needed to create a pgkill facility for Windows, and a complementary patch for src/bin/Makefile It is adapted from the facility on the Win32 page, but uses the builtin signal definitions rather than using its own. This facility is needed for shutting down postgres cleanly