psql pass variable to sql code example Example: pass parameters into postgres bash psql -v v1=12 -v v2="'Hello World'" -v v3="'2010-11-12'"