> On Mar 22, 2016, at 9:44 AM, Ferrell, Denise D CTR NSWCDD, H11 <denise.ferrell.ctr@xxxxxxxx> 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 script without 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. -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin