Re: Python + PostgreSQL
| От | darcy@druid.net (D'Arcy J.M. Cain) |
|---|---|
| Тема | Re: Python + PostgreSQL |
| Дата | |
| Msg-id | m13KfgG-000AXvC@druid.net обсуждение исходный текст |
| Ответ на | Re: Python + PostgreSQL (Antonio Navarro Navarro <hostmaster@bemarnet.es>) |
| Список | 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@{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.
В списке pgsql-interfaces по дате отправления: