Search Postgresql Archives

Problem running native windows Postgres 8 pg_dump etc on cygwin from bash

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

 



I have many database build scripts written for cygwin bash. These scripts
use the cygwin port of postgres 7.4 and its client tools like psql, pg_dump
etc.
I have modified my bash scripts to use the Postgres 8 native windows tools.
Unfortunately these bash scripts don't seem to work.

Some example resutls of native windows Postgres 8 commands run in cygwin
bash:

pg_dump --version       - spools back a database dump as if pg_dump is
running using default (no) parameters. The same command in a DOS window
works fine.
psql -- version         - does not return and a ^C required to kill
psql              - returns the default interactive session

Can anyone throw any light on this as I really don't want to have to
rewrite all my scripts into DOS batch files

Any help would be much appreciated.

Laurie


:.________________
CONFIDENTIALITY : This  e-mail  and  any attachments are confidential and
may be privileged. If  you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person, use
it for any purpose or store or copy the information in any medium.



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux