how to pass parameter to psql command in linux script code example
Example: pass parameters into postgres bash
psql -v v1=12 -v v2="'Hello World'" -v v3="'2010-11-12'"
psql -v v1=12 -v v2="'Hello World'" -v v3="'2010-11-12'"