Opened 18 years ago

Closed 18 years ago

#1587 closed defect (fixed)

Thread safe support for postgis connections

Reported by: unicoletti Owned by: refractions
Priority: high Milestone:
Component: PostGIS Interface Version: 4.4
Severity: major Keywords:
Cc: sgillies@…

Description

On the mapserver website it is stated that postgis connections are not thread
safe because the bit order is stored globally. Since I will need to use postgis
connections and I had some spare time I have looked into it and created the
patch attached.

Since I still work with mapserver 4.4.2 (because it appears to be a proven
platform for Java Mapscript) the patch applies cleanly against that version, but
is should not be difficult to port it to newer versions.

I have not done extensive testing as the modification seems trivial, of course I
might be completely wrong. This is my Xmas present ;-) !

Attachments (1)

pg-ts.patch (3.3 KB ) - added by unicoletti 18 years ago.
Patch for postgis thread safe support. Created against 4.4.2

Download all attachments as: .zip

Change History (3)

by unicoletti, 18 years ago

Attachment: pg-ts.patch added

Patch for postgis thread safe support. Created against 4.4.2

comment:1 by unicoletti, 18 years ago

Cc: sgillies@… added
Adding Sean as a CC as he is the mantainer of the thread safe FAQ entry on the
web site.

comment:2 by unicoletti, 18 years ago

Resolution: fixed
Status: newclosed
Committed to cvs, released in 4.8.1.
Closed.
Note: See TracTickets for help on using tickets.