pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: darcy@druid.net
To: Antonio Navarro Navarro <hostmaster@bemarnet.es>
Cc: pgsql-interfaces@hub.org
Subject: Re: Python + PostgreSQL
Date: Fri, 4 Aug 2000 07:30:23 -0400 (EDT)
Message-ID: <m13KfgG-000AXvC@druid.net> (raw)
In-Reply-To: <4.1.20000804085946.00ca5f00@pop3.bemarnet.es>

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@{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.



view thread (11+ messages)  latest in thread

Message-ID: <m13KfgG-000AXvC@druid.net>
Permalink:  ../m13KfgG-000AXvC@druid.net/
Also on:    postgresql.org/message-id/m13KfgG-000AXvC@druid.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: darcy@druid.net, hostmaster@bemarnet.es, pgsql-interfaces@hub.org
  Subject: Re: Python + PostgreSQL
  In-Reply-To: <m13KfgG-000AXvC@druid.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox