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 makes
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.
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 that in
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