Skip to content

Instantly share code, notes, and snippets.

@rdemorais
Created May 28, 2017 15:49
Show Gist options
  • Save rdemorais/13ccd6cb358332152efd2274507e435d to your computer and use it in GitHub Desktop.
Save rdemorais/13ccd6cb358332152efd2274507e435d to your computer and use it in GitHub Desktop.
Execute PSQL in background for large files
nohup psql -d mydb -f insert.sql > insert.log 2>&1 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment