Thanks to visit codestin.com
Credit goes to postgrespro.com

L.3. Script Parameters #

Postgres Pro provides the ability to pass named and positional parameters for script execution. For more information, see the \i command on the psql reference page.