Re: rebellious pg stats collector (reopened case)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




alive".  Otherwise you'll have trouble with the collector not stopping
when you want it to.  Look into src/backend/storage/ipc/pmsignal.c:

-		return (getppid() == PostmasterPid);
+		return (getppid() != 1);

(Obviously this is a hack, but it should work on any Unixish system)
Thanks. I'm going to try this next weekend (when nobody works on the database) and come back with the results.

--
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux