Unix Technical Forum

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

This is a discussion on Re: Problem running native windows Postgres 8 pg_dump etc on cygwin from bash within the Pgsql General forums, part of the PostgreSQL category; --> You should run the Cygwin tools from Cygwin. They work fine against a native backend. //Magnus > -----Original Message----- ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 06:51 PM
Magnus Hagander
 
Posts: n/a
Default Re: Problem running native windows Postgres 8 pg_dump etc on cygwin from bash

You should run the Cygwin tools from Cygwin. They work fine against a
native backend.

//Magnus

> -----Original Message-----
>
> 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@postgresql.org)
>


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com