class PG::Connection

def host_is_named_pipe?(host_string)

def host_is_named_pipe?(host_string)
ring.empty? || host_string.start_with?("/") ||  # it's UnixSocket?
t_string.start_with?("@") ||  # it's UnixSocket in the abstract namespace?
t's a path on Windows?
BY_PLATFORM =~ /mingw|mswin/ && host_string =~ /\A([\/\\]|\w:[\/\\])/)