www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Sivaram Neelakantan <nsivaram DOT net AT gmail DOT com> |
Subject: | call win32 psql from cygwin |
Date: | Sun, 11 Oct 2009 22:55:42 +0530 |
Lines: | 18 |
Message-ID: | <82vdilg7vt.fsf@gmail.com> |
Mime-Version: | 1.0 |
User-Mail-Address: | nsivaram DOT net AT gmail DOT com |
User-Agent: | Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (windows-nt) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
I installed the win32 binary of PostgreSQL 8.4 in C:/PostgreSQL. Launching mintty in cygwin and calling psql, the only thing that seems to work is the psql --help call. $/cygdrive/c/PostgreSQL/8.4/bin/psql -d mf -U sivaram simply waits till I hit Ctrl-C. Is it possible at all to use the win32 databases from shell scripts written in cygwin bash? My overall objective is to read and write to tables in PostgreSQL from bash scripts. Can anyone help, please? sivaram -- -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |