Tag: psql

psql - Exit on First Error

Dev & Ops

PostgreSQL has an awesome command line client we all use and love called psql. We usually use psql in an interactive mode where we connect to the database and then type and execute queries. But sometimes it is useful to execute a whole SQL file. We can do this with: psql -U username -d database -f file. ...

Strahinja Kustudic

Strahinja Kustudic

System Engineer

November 02, 2015