diff options
author | Matthias Hecker <apoc@geekosphere.org> | 2015-06-14 20:52:47 +0200 |
---|---|---|
committer | Matthias Hecker <apoc@geekosphere.org> | 2015-06-14 20:52:47 +0200 |
commit | 6ead2df0ba73243c0d1805324b0fe64d85c08bac (patch) | |
tree | 97db39d2520abfca554dfc1587af124347f053ea /lib/rbot/journal | |
parent | dd06ceee0c26703a73acb225a6500579f38c8c3e (diff) |
journal, integrated in bot
Diffstat (limited to 'lib/rbot/journal')
-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') |