diff options
Diffstat (limited to 'lib/rbot/journal/postgres.rb')
-rw-r--r-- | lib/rbot/journal/postgres.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/journal/postgres.rb b/lib/rbot/journal/postgres.rb index 65c67eb9..c62d4c97 100644 --- a/lib/rbot/journal/postgres.rb +++ b/lib/rbot/journal/postgres.rb @@ -22,6 +22,7 @@ module Journal def initialize(opts={}) @uri = opts[:uri] || 'postgresql://localhost/rbot_journal' @conn = PG.connect(@uri) + @conn.exec('set client_min_messages = warning') @version = @conn.exec('SHOW server_version;')[0]['server_version'] @version.gsub!(/^(\d+\.\d+)$/, '\1.0') |