> On Mar 22, 2016, at 9:44 AM, Ferrell, Denise D CTR NSWCDD, H11 <denise.ferrell.ctr@navy.mil> wrote:
>
> I've got a script that I'm running from the Linux command prompt that I need to pass 2 parameter's into the psql
scriptwithout using the VI Editor. Is there an easy way to accomplish this?
>
> psql <database> -f <scriptname> -l <log_file>
See the psql command line variable options (-v, --set, --variable).
http://www.postgresql.org/docs/9.5/static/app-psql.html#APP-PSQL-VARIABLES
John DeSoi, Ph.D.