pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pavel.bazika@kocovnici.cz
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #14902: valgrind - problem in PQconnectdb - pqSaveParameterStatus reported
Date: Mon, 13 Nov 2017 10:23:23 -0500
Message-ID: <30214.1510586603@sss.pgh.pa.us> (raw)
In-Reply-To: <20171113112719.1468.57626@wrigleys.postgresql.org>
References: <20171113112719.1468.57626@wrigleys.postgresql.org>

pavel.bazika@kocovnici.cz writes:
> I'm testing my application with helgrind threading error detection tool
> (part of valgrind) and it reports a problem in libpq, when I'm calling
> PQconnectdb from two threads:

It seems to be complaining about the assignments to static_client_encoding
and static_std_strings.  I wouldn't worry --- in the first place, those
assignments should be atomic writes (at least on most platforms) and
in the second place, the functionality involved is not guaranteed to
work in any program with more than one PGconn anyway.

			regards, tom lane




view thread (2+ messages)

Message-ID: <30214.1510586603@sss.pgh.pa.us>
Permalink:  ../30214.1510586603@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/30214.1510586603@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pavel.bazika@kocovnici.cz
  Subject: Re: [BUGS] BUG #14902: valgrind - problem in PQconnectdb - pqSaveParameterStatus reported
  In-Reply-To: <30214.1510586603@sss.pgh.pa.us>
  References: <20171113112719.1468.57626@wrigleys.postgresql.org> <30214.1510586603@sss.pgh.pa.us>

* 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