Using an environment variable in a PSQL script Using an environment variable in a PSQL script postgresql postgresql