<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Terminus">We using psycopg1 for the data synchronization
between MySQL\PostgreSQL, MSSQL\PostgreSQL and etc...<br>
<br>
psycopg2 is "faster" but very buggy in the 256/24/7 systems. We use
older version and it better choose for us, <br>
stability is in the priority.<br>
</font><br>
Christopher Zorn wrote:
<blockquote
cite="mid:149014b90804010609k60cd6b9al68708c22336c6a85@mail.gmail.com"
type="cite">
<pre wrap="">On Mon, Mar 31, 2008 at 12:32 PM, Nathan <a class="moz-txt-link-rfc2396E" href="mailto:nathan.stocks@gmail.com"><nathan.stocks@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Is there any noticeable difference between psycopg (version 2) or
pygresql (version 3.8.1) when used with twisted.enterprise to connect
to postgresql?
</pre>
</blockquote>
<pre wrap=""><!---->
I have found psycopg 2 to be faster. I do not have the data anymore but I
use it in production and works great.
</pre>
<blockquote type="cite">
<pre wrap="">Pygresql hasn't been updated since June 2006, but maybe that's just
because it's stable (?) -- I haven't used it at all, ever.
Psycopg2 has had more recent releases, but I've experience some bugs
with it in (non-twisted) threaded code and the web site has been down
for weeks (months?), so I thought it wise to explore alternatives...
</pre>
</blockquote>
<pre wrap=""><!---->
What bugs are you experiencing? What version are you using? We use
psycopg2-2.0.6svn in production and has been fine.
</pre>
<blockquote type="cite">
<pre wrap="">
Or is there a better third alternative???
Also, we're considering turning on SSL client-certificate verification
on our postgresql installation -- does anyone know whether either of
the above support SSL client certificates?
</pre>
</blockquote>
<pre wrap=""><!---->
I do not know if psycopg supports this.
</pre>
<blockquote type="cite">
<pre wrap="">Opinions?
</pre>
</blockquote>
<pre wrap=""><!---->
If you run psycopg you may want to use the patch in ticket #2488 it helps
performance.
<a class="moz-txt-link-freetext" href="http://twistedmatrix.com/trac/ticket/2488">http://twistedmatrix.com/trac/ticket/2488</a>
</pre>
<blockquote type="cite">
<pre wrap="">~ Nathan
_______________________________________________
Twisted-Python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a>
<a class="moz-txt-link-freetext" href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Twisted-Python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a>
<a class="moz-txt-link-freetext" href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
"""
Best regards, Alexander Burtsev.
Web Development Department, TV Channel 'Sport'
<a class="moz-txt-link-freetext" href="http://sportbox.ru">http://sportbox.ru</a>
<a class="moz-txt-link-freetext" href="http://burus.org">http://burus.org</a>
"""</pre>
</body>
</html>