Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 025a3c9

Browse files
authored
new lines
1 parent 46cdf57 commit 025a3c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎procedures/connection_ping/psql_connection_lost_duration_v2.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ application_name="$(basename "$SCRIPT_FILE") $(hostname -I | cut -f1 -d' ')"
5555
export PGAPPNAME="$application_name"
5656

5757
# смотрим на подключение, пока не произойдёт разрыв
58-
psql -U postgres -q -X -c "\echo 'Press CTRL+C to stop'" -c "\conninfo" -f connection_ping.sql -c "call connection_ping(1000, 0.5)" -h $host -p $port
58+
psql -U postgres -q -X \
59+
-c "\echo 'Press CTRL+C to stop'" -c "\conninfo" -f connection_ping.sql -c "call connection_ping(1000, 0.5)" \
60+
-h $host -p $port
5961
status=$?
6062

6163
if test $status != 2; then

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /