PGresults used to be read-only from the application's viewpoint, but now
that we've exposed various functions that allow modification of a PGresult,
that sweeping statement is no longer accurate. Noted by Dmitriy Igrishin.
- PGresult> objects are read-only after creation, and so
- can be passed around freely between threads.
+ PGresult> objects are normally read-only after creation,
+ and so can be passed around freely between threads. However, if you use
+ any of the PGresult>-modifying functions described in
+ or , it's up
+ to you to avoid concurrent operations on the same PGresult>,
+ too.