Re: your mail - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: your mail
Date
Msg-id 20181119153915.GQ3415@tamriel.snowman.net
Whole thread Raw
In response to  (Adelino Silva <adelino.j.silva@googlemail.com>)
List pgsql-hackers
Greetings,

* Adelino Silva (adelino.j.silva@googlemail.com) wrote:
> A system monitoring tool like "nc -vz localhost 5432" to monitor the
> database server is causing the warning, any way way to filter or ignore
> messages in postgresql log file
>
> LOG:  incomplete startup packet

Not today.  You'd be *much* better off with a monitor that actually logs
in and does something like 'SELECT 1;' or similar though.

Testing that you can connect to the TCP port is actually pretty useless
as far as checking to see if the service is functioning properly.

Thanks!

Stephen

Attachment

pgsql-hackers by date:

Previous
From: s.cherkashin@postgrespro.ru
Date:
Subject: Add client connection check during the execution of the query
Next
From: Alvaro Herrera
Date:
Subject: Re: fix psql \conninfo & \connect when using hostaddr