Re: psql for winxp?

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Jerry LeVan <jerry(dot)levan(at)eku(dot)edu>
Cc: PostgreSQL - General <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql for winxp?
Date: 2006-06-20 00:36:36
Message-ID: DAB5B4F2-8C86-4688-89AE-C24918DCAD01@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Jerry,

You can use psql directly and communicate with it using a pipe
stream. On Windows I believe this is equivalent to calling
CreateProcess and CreatePipe which results in a bidirectional stream.
This is how pgEdit makes use of psql for the editor.

I'm not familiar with Tcl or Python, but hopefully they have
facilities to do this.

BTW, the psql binary is part of the Windows PostgreSQL installer.

On Jun 19, 2006, at 5:53 PM, Jerry LeVan wrote:

> I would like to install a "psql" command line program on
> my winxp box. ( something that acts like psql on a unix box.)
>
> I hope to embed such a program in my Tcl/Tk and Python
> PostgreSQL browsers so I can more offer more functionality
> in the browsers...
>
> My development environment on XP is restricted to
> scripting languages ( tcl and python ).
>
> Any candidates/suggestions?

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Qingqing Zhou 2006-06-20 02:15:04 Re: simple query terminated by signal 11
Previous Message Wes 2006-06-19 23:08:47 Re: Adding foreign key constraints without integrity