class PG::Testing::Server
A server to test against: PG_TEST_URL's, or a cluster of ours.
Class methods
def self.new(url: String, dir: String?, bin: String) -> PG::Testing::Server
(Made by PG::Testing.start.)
Methods
def url -> String
A URL to connect to it, with its password.
def ours? -> Bool
Whether it is a cluster of ours (whose pg_hba.conf has the lines
start was given), not PG_TEST_URL's server.
def socket_dir -> String?
The directory of its unix socket, for a cluster of ours.
def password -> String
The password in the URL.
def port -> Int
The port in the URL.
def stop -> Void
Stops a cluster of ours and removes its directory; nothing for PG_TEST_URL's.