Skip site navigation (1) Skip section navigation (2)

Re: Python + PostgreSQL

From: Antonio Navarro Navarro <hostmaster(at)bemarnet(dot)es>
To: Karl Thomas Diedrich <died9501(at)uidaho(dot)edu>
Cc: pgsql-interfaces(at)hub(dot)org
Subject: Re: Python + PostgreSQL
Date: 2000-08-03 07:02:43
Message-ID: 4.1.20000803090050.00c9adb0@pop3.bemarnet.es (view raw or flat)
Thread:
Lists: 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(at)bemarnet(dot)es
Tlf. +34-96-1656644
Fax. +34-96-1656514

In response to

pgsql-interfaces by date

Next:From: Ulf MehligDate: 2000-08-03 11:00:03
Subject: field sep in psql
Previous:From: Peter MountDate: 2000-08-03 06:42:06
Subject: RE: JDBC driver writes binary data ONLY as Large Object

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group