Skip to content

Instantly share code, notes, and snippets.

View ArtAndreev's full-sized avatar
:shipit:

Artyom Andreev ArtAndreev

:shipit:
View GitHub Profile
@ArtAndreev
ArtAndreev / postgresql.conf
Created January 19, 2019 10:22
postgresql.conf for using pgBadger
# You must configure your PostgreSQL server before using pgBadger.
# Edit postgresql.conf (in /usr/local/var/postgres if you use Homebrew's
# PostgreSQL), set the following parameters, and restart PostgreSQL:
log_destination = 'stderr'
log_line_prefix = '%t [%p]: [%l-1] user=%u,db=%d '
log_statement = 'none'
log_duration = off
log_min_duration_statement = 0
log_checkpoints = on