Re: postgres scripting

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jweatherman91(at)alumni(dot)wfu(dot)edu
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: postgres scripting
Date: 2009-09-17 02:38:03
Message-ID: 5040.1253155083@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

John P Weatherman <jweatherman91(at)alumni(dot)wfu(dot)edu> writes:
> I can't seem to find a way to pass a CTRL-D character from within a bash
> script to the postgres executable.

Control-D is just a way to signal EOF from the keyboard. If you're
scripting, reaching the end of the script input does the same thing.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message wanpeng 2009-09-17 05:34:23 Re: hardware information
Previous Message Kevin Grittner 2009-09-16 23:35:42 Re: postgres scripting