psycopg2 beta?

5 views
Skip to first unread message

Bryan

unread,
May 16, 2006, 6:30:08 PM5/16/06
to Django developers
I talked with fog, one of the psycopg2 developers, about the current
state of psycopg2. He said that "psycopg 2 itself is stable right now"
and that they just need to complete zpsycopgda 2. From what's been
discussed, it doesn't sound like there is too much that psycopg2 can
change later on that would affect django if it decided to support it
right now.

On another note, it would be nice to see
http://code.djangoproject.com/ticket/1736 in the trunk.

Bryan

Adrian Holovaty

unread,
May 16, 2006, 7:29:24 PM5/16/06
to django-d...@googlegroups.com
On 5/16/06, Bryan <ger...@gmail.com> wrote:
> I talked with fog, one of the psycopg2 developers, about the current
> state of psycopg2. He said that "psycopg 2 itself is stable right now"
> and that they just need to complete zpsycopgda 2. From what's been
> discussed, it doesn't sound like there is too much that psycopg2 can
> change later on that would affect django if it decided to support it
> right now.

That's good news -- thanks for the update.

I just checked in a "postgresql_psycopg2" backend that uses psycopg2
with its psycopg1 compatibility layer. I have not tested this, so it
probably doesn't work, but it's a start. One thing, for example, is
that the register_type() syntax has changed in psycopg2.

Please play around with the new backend and file tickets with patches
that make it work!

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com

Bryan

unread,
May 16, 2006, 8:31:35 PM5/16/06
to Django developers
Thanks, Adrian. I took care of the errors you get when you try to
python manage.py syncdb:

http://code.djangoproject.com/ticket/1904

Adrian Holovaty

unread,
May 17, 2006, 11:39:34 PM5/17/06
to django-d...@googlegroups.com
On 5/16/06, Bryan <ger...@gmail.com> wrote:
> Thanks, Adrian. I took care of the errors you get when you try to
> python manage.py syncdb:
>
> http://code.djangoproject.com/ticket/1904

Thanks very much for the patch -- I've committed it, along with a
bunch of other changes. I lightly tested the psycopg2 backend, and it
appears to be working smoothly.

Reply all
Reply to author
Forward
0 new messages