Re: Python + PostgreSQL

From: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
To: Antonio Navarro Navarro <hostmaster(at)bemarnet(dot)es>
Cc: pgsql-interfaces(at)hub(dot)org
Subject: Re: Python + PostgreSQL
Date: 2000-08-04 11:30:23
Message-ID: m13KfgG-000AXvC@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Thus spake Antonio Navarro Navarro
> >If the server requires a password then you need to supply one here. If
> >you don't need a password (i.e. "psql template1" works) then try this.
>
> Hi again !
>
> How must I add the password to the call , maybe
>
> dg = pg.connect("template1", "10.0.0.1", 5432,"username", "password") ?

connect(dbname, host, port, opt, tty, user, passwd)

Set any unused parameters to None.

> and where could I find documentation for the different functions supplied
> in the package ?

In the README that comes with the distribution.

--
D'Arcy J.M. Cain <darcy(at){druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bob Kline 2000-08-04 14:04:08 Re: Python + PostgreSQL
Previous Message David Lloyd-Jones 2000-08-04 07:33:08 Re: Python + PostgreSQL