Skip site navigation (1) Skip section navigation (2)

Re: Misinformation in 31.18 chapter.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
Cc: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Misinformation in 31.18 chapter.
Date: 2011-12-02 16:37:10
Message-ID: 18798.1322843830@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-docs
Dmitriy Igrishin <dmitigr(at)gmail(dot)com> writes:
> According to 31.18,
> http://www.postgresql.org/docs/9.1/static/libpq-threading.html
> "PGresult objects are read-only after creation, and so can be passed around
> freely between threads."

> But PGresult objects are *not* read-only because of existence of
> PQsetvalue() described in
> http://www.postgresql.org/docs/9.1/static/libpq-misc.html

Good point ... and the "event" stuff can modify the state of a PGresult,
too.  I've updated that statement accordingly.  Thanks for the note.

			regards, tom lane

In response to

pgsql-docs by date

Next:From: Bruce MomjianDate: 2011-12-03 23:43:00
Subject: Moving tablespaces
Previous:From: Dmitriy IgrishinDate: 2011-12-02 09:15:58
Subject: Misinformation in 31.18 chapter.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group