pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <pgsql@j-davis.com>
To: pgsql-docs@postgresql.org
Subject: Documentation and mutating PGresult objects
Date: Thu, 05 Jan 2012 01:47:14 -0800
Message-ID: <1325756834.25249.161.camel@jdavis> (raw)

"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?

Regards,
	Jeff Davis




view thread (3+ messages)  latest in thread

Message-ID: <1325756834.25249.161.camel@jdavis>
Permalink:  ../1325756834.25249.161.camel@jdavis/
Also on:    postgresql.org/message-id/1325756834.25249.161.camel@jdavis

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: pgsql@j-davis.com
  Subject: Re: Documentation and mutating PGresult objects
  In-Reply-To: <1325756834.25249.161.camel@jdavis>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox