]> granicus.if.org Git - postgresql/commit
Before deciding we can use a socket for statistics collection, test to
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Mar 2004 23:55:29 +0000 (23:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Mar 2004 23:55:29 +0000 (23:55 +0000)
commit0d88dd1e50a9b0fc907936627baec70e0dcf63f0
tree9d05bd4f9d59311074d93eb9ca4b8d79d8775d08
parent6b198d61f8395c097a26dece7f2c3f33149ccf7b
Before deciding we can use a socket for statistics collection, test to
ensure that it actually passes data.  This catches cases such as a kernel
packet filter rule that makes the socket useless.

Andrew Dunstan
src/backend/postmaster/pgstat.c