Skip to content

Instantly share code, notes, and snippets.

@alexclifford
Created August 26, 2014 03:43
Show Gist options
  • Save alexclifford/81d25938421bf08591c1 to your computer and use it in GitHub Desktop.
Save alexclifford/81d25938421bf08591c1 to your computer and use it in GitHub Desktop.
Start postgresql on Ubuntu 12.04 with debugging enabled
sudo -u postgres -H /usr/lib/postgresql/9.1/bin/postgres -d 3 -D /var/lib/postgresql/9.1/main/ -c config_file=/etc/postgresql/9.1/main/postgresql.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment