Postgres module

Target_Session_Attrs

enumsince 0.27.0Source

Which of several servers connect accepts, as libpq's target_session_attrs.

Members

ANY
READ_WRITE
transactions are not read-only (a primary, by default)
READ_ONLY
PRIMARY
not in hot standby
STANDBY
in hot standby
PREFER_STANDBY
a standby if any host is one, else any

See also