Rails 3.2 plugin that silences Postgresql connection adapter verbose output
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 3 commits behind dolzenko:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
MIT-LICENSE
README
init.rb
silent-postgres.gemspec

README

SilentPostgres (for rails 3.2)
==============

NOTE: THIS FORK IS FOR RAILS 3.2.  See original here: https://github.com/dolzenko/silent-postgres

Silences internal diagnostic messages from postgresql connection adapter.

Enabled only in development and test environments, skips production for 
performance reasons - logging is probably disabled there anyway.

Note that postgresql itself will also issue some extra logs for things like `implicit sequences`.  Looks like this:

    NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index ...

To disable this logging, use this config option in your Rails `database.yml`

    test:
      ...
      min_messages: WARNING

Copyright (c) 2008 Łukasz Piestrzeniewicz, released under the MIT license