Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

PostgreSQL: Store a PSQL COUNT query result as a Bash variable

Posted 5th June 2018

No comments

Use this nifty code to isolate the result of a PSQL COUNT query as a variable within a Bash script.

Read the full story...