Re: Python + PostgreSQL - Mailing list pgsql-interfaces

From Antonio Navarro Navarro
Subject Re: Python + PostgreSQL
Date
Msg-id 4.1.20000803090050.00c9adb0@pop3.bemarnet.es
Whole thread Raw
In response to Python + PostgreSQL  (Antonio Navarro Navarro <hostmaster@bemarnet.es>)
List pgsql-interfaces
At 14.48 2/8/00 -0700, Karl Thomas Diedrich wrote:

>I used the Postgresql python package to write a program. I couldn't find
>any documentation either. Examples come in the RedHat package.
>
>I used qit like this:
>from pg import DB
>cnx = DB("database-name")
>cnx.query("""CREATE TABLE ...""")
>
>You can see the full application at http://deodas.sourceforge.net/. Thqe
>parts in the the file DEODAS/deodas/src/deodas_mod.py under CVS web. 

Hi Karl !

Yes, this works for localhost and for servers that don't need user
authentication, but I need to connect to a remote server using an specific
username and password... Anyone can help ?

Regards,

Antonio Navarro Navarro
BemarNet Management
http://www.bemarnet.es
hostmaster@bemarnet.es
Tlf. +34-96-1656644
Fax. +34-96-1656514


pgsql-interfaces by date:

Previous
From: Peter Mount
Date:
Subject: RE: JDBC driver writes binary data ONLY as Large Obj ect
Next
From: Ulf Mehlig
Date:
Subject: field sep in psql