Sql.pgsql for 8.0

"Stephen R. van den Berg" <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
Henrik Grubbstr?m wrote:
>>However, I'm happy to announce that the pgsql NG driver in 8.1 passes muster.
>>I'm going to try running it in production servers now.
>>If it survives that, I'll consider a backport to 8.0.

Ok, got a Roxen 6.0 running using Pike 8.0 and the pgsql NG driver.
This resulted in an amazingly small amount of additional fixes.

I'm going to check in the new pgsql driver into 8.0 and provide
a corresponding CHANGES entry.
The reason it needs to go in, is because the old driver exhibits some
rare but relatively consistent datacorruption (in Pike, not in the DB) bugs.

Fixing those bugs in the old driver is too difficult because the bugs
are difficult to pinpoint (Heisenbugs); I tried.
The new driver is fully threaded and decouples all communication with
the database from the actual Pike code *and* eliminates all usage
of a custom CMOD helper in favour of Stdio.Buffer.
A fortunate side effect of the new driver is that it is even faster
than the previous version.

The downside is that the new driver will not work in Pikes without
native Thread support.

A backport of this driver to 7.8 is not possible unless Stdio.Buffer
is backported as well.
-- 
Stephen.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.