Re: postgres scripting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John P Weatherman <jweatherman91@xxxxxxxxxxxxxx> wrote:
 
> can handle identifying the dbs and starting postgres no problem, but
I
> can't seem to find a way to pass a CTRL-D character from within a
bash
> script to the postgres executable.
 
Why not put the SQL in a separate file and pipe it in?
(I haven't tested that, but it seems likely to work....)
 
-Kevin

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux