Skip to content

Instantly share code, notes, and snippets.

@pramsey
Created January 20, 2016 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pramsey/e0953d7bafa67dfec0a2 to your computer and use it in GitHub Desktop.
Save pramsey/e0953d7bafa67dfec0a2 to your computer and use it in GitHub Desktop.
valgrinding postgresql problems
# pgsql built with USE_VALGRIND
# OSX 10.11, valgrind from svn trunk
Butterfly:~/Code/postgresql-9.5.0 pramsey$ valgrind --leak-check=no --gen-suppressions=all \
--suppressions=src/tools/valgrind.supp --time-stamp=yes \
--log-file=$HOME/pg-valgrind/%p.log --trace-children=yes \
postgres \
--log_line_prefix="%m %p " \
--log_statement=all \
--shared_buffers=64MB 2>&1 | tee $HOME/pg-valgrind/postmaster.log
2016-01-20 09:37:45.982 PST 68650 LOG: startup process (PID 68652) exited with exit code 1
2016-01-20 09:37:46.000 PST 68650 LOG: aborting startup due to startup process failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment