]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/journal/postgres.rb
journal, integrated in bot
[user/henk/code/ruby/rbot.git] / lib / rbot / journal / postgres.rb
index 65c67eb94c5ce2e7ca8384e989f366ed98820463..c62d4c97b1fe0217874805a03949fcea8b3c241d 100644 (file)
@@ -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')