spqr
spqr copied to clipboard
spqr-ping
The main idea is to add a fast ping handler without tls requirements.
➜ spqr git:(ping-idea) ✗ psql "host=localhost port=8432 dbname=spqr-ping user=spqr-ping sslmode=disable"
psql (14.17 (Homebrew), server 0.0.0)
Type "help" for help.
spqr-ping=> --fweq;
spqr-ping=> ;
spqr-ping=?> ;
no connection to the server
The connection to the server was lost. Attempting reset: Succeeded.
psql (14.17 (Homebrew), server 0.0.0)
spqr-ping=> qwef;
spqr-ping=?> fweqf;
no connection to the server
The connection to the server was lost. Attempting reset: Succeeded.
psql (14.17 (Homebrew), server 0.0.0)
spqr-ping=> ;fqwe
spqr-ping-?> ;fqw
no connection to the server
The connection to the server was lost. Attempting reset: Succeeded.
psql (14.17 (Homebrew), server 0.0.0)
spqr-ping->