.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "PG_AUTOCTL GET NODE CANDIDATE-PRIORITY" "1" "Nov 25, 2023" "2.1" "pg_auto_failover" .SH NAME pg_autoctl get node candidate-priority \- pg_autoctl get node candidate-priority .sp pg_autoctl get candidate\-priority \- get candidate\-priority property from the monitor .SH SYNOPSIS .sp This command prints \fBpg_autoctl\fP candidate priority for a given node: .INDENT 0.0 .INDENT 3.5 .sp .EX usage: pg_autoctl get node candidate\-priority [ \-\-pgdata ] [ \-\-json ] [ \-\-formation ] [ \-\-name ] \-\-pgdata path to data directory \-\-formation pg_auto_failover formation \-\-name pg_auto_failover node name \-\-json output data in the JSON format .EE .UNINDENT .UNINDENT .SH DESCRIPTION .sp See also \fI\%pg_autoctl show settings\fP for the full list of replication settings. .SH OPTIONS .INDENT 0.0 .TP .B \-\-pgdata Location of the Postgres node being managed locally. Defaults to the environment variable \fBPGDATA\fP\&. Use \fB\-\-monitor\fP to connect to a monitor from anywhere, rather than the monitor URI used by a local Postgres node managed with \fBpg_autoctl\fP\&. .TP .B \-\-json Output JSON formatted data. .TP .B \-\-formation Show replication settings for given formation. Defaults to \fBdefault\fP\&. .TP .B \-\-name Show replication settings for given node, selected by name. .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .EX $ pg_autoctl get node candidate\-priority \-\-name node1 50 $ pg_autoctl get node candidate\-priority \-\-name node1 \-\-json { \(dqname\(dq: \(dqnode1\(dq, \(dqcandidate\-priority\(dq: 50 } .EE .UNINDENT .UNINDENT .SH AUTHOR Microsoft .SH COPYRIGHT Copyright (c) Microsoft Corporation. All rights reserved. .\" Generated by docutils manpage writer. .