replicator/lib/ruby/pg-wal-plugin.rb
# Return true if we are a standby. 
Return true if we are a standby.
Return true if we are a standby .
def is_standby
    if get_role() == "slave"
      true
    else
      false
    end
  end
def is_standby if get_role ( ) == "slave" true else false end end
Return true if we are a standby.
Return true if we are a standby .