David Mitchell wrote:
What is the best way to quickly and reliably stop postgres? We've found that pg_ctl doesn't work for us very well, frequently failing to actually stop the postmaster (it times out and reports that it has failed to stop). This is the same even if we use -m immediate.
AFAIK pg_ctl just signals the backend (as you can do with kill). Are you saying it never exits, or just that pg_ctl stops waiting for it to finish?
-- Richard Huxton Archonet Ltd ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match