[postgis-devel] does unparse_WKT thread safe?

xie_jiong xie_jiong at 163.com
Wed Jan 13 00:01:14 PST 2010


Hi all,

   If two session execute following sql at same time, will postgis cause error?

   select st_astext(shape) from geotable;

   I just read the code and found that the funtion unparse_WKT uses static var out_start and out_pos, so if two session involk it in parallel, and I think the static vars will conflict. Is it true?

   Thanks!

Jiong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20100113/61ef4953/attachment.html>


More information about the postgis-devel mailing list