[DB-SIG] pypg pure Python db driver for Postgresql
Randall Smith
randall at tnr.cc
Tue Jul 12 16:56:49 CEST 2005
You must think I'm playing some cruel trick on you. I promise I'm not.
I tested this on Ubuntu, OS X 10.3, and Windows 2000 with Python
2.3/2.4 and PG 7.4.
The thing that baffles me about your error is that it appears that you
got authenticated without receiving an AuthenticationOk response. On
top of that I don't know how you authenticated using IDENT because my
attempts to do so failed.
You might try md5 authentication
host all all 127.0.0.1 255.255.255.255 ident
sameuser
host all all 127.0.0.1 255.255.255.255 md5
Sorry for the headaches. If you figure out what the problem is, I would
like to know. Thanks.
Randall
Stephane Bortzmeyer wrote:
> On Tue, Jul 12, 2005 at 08:38:53AM -0500,
> Randall Smith <randall at tnr.cc> wrote
> a message of 56 lines which said:
>
>
>>should read
>>
>>emsg = 'Did not handle response, %s' % nextmsg.format_name
>
>
> Now, I have:
>
> Exception: Did not handle response, ParameterStatus
>
>
>>Maybe I have not supported your authentication scheme yet. What
>>authentication scheme are you using?
>
>
> # All IPv4 connections from localhost
> host all all 127.0.0.1 255.255.255.255 ident sameuser
>
>
>>For that matter what is your OS,
>
>
> Debian GNU/Linux 3.1 "sarge".
>
>
>>Postgresql version etc.
>
>
> PostgreSQL 7.4.7
> Python 2.3.5
More information about the DB-SIG
mailing list