# pg/info Get client state: `%{ :state :host :port :user :database :sslmode :ssl :txn :pending :pid :server-version }`. ## Syntax
[pg/info db]
`state` is one of `:disconnected :connecting :ssl-negotiating :tls-handshaking :authenticating :ready :failed`.