Re: Documentation and mutating PGresult objects - Mailing list pgsql-docs

From Dmitriy Igrishin
Subject Re: Documentation and mutating PGresult objects
Date
Msg-id CAAfz9KMqy1ENE_Eq4Oi0av2Hy+qyP3RjdWhCqNf+w1+Z7OQUWQ@mail.gmail.com
Whole thread Raw
In response to Documentation and mutating PGresult objects  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-docs
Hey Jeff,

2012/1/5 Jeff Davis <pgsql@j-davis.com>
"PGresult objects are read-only after creation, and so can be passed
around freely between threads."

From http://www.postgresql.org/docs/9.1/static/libpq-threading.html

But what about things like PQsetvalue? Is that a documentation bug?
Should result objects be protected by synchronization as well as
connection objects?


--
// Dmitriy.


pgsql-docs by date:

Previous
From: Jeff Davis
Date:
Subject: Documentation and mutating PGresult objects
Next
From: Tom Lane
Date:
Subject: Re: Documentation and mutating PGresult objects