Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXS89-0004ex-Sg for pgsql-docs@arkaria.postgresql.org; Tue, 27 Oct 2020 16:47:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kXS88-0008KU-Pq for pgsql-docs@arkaria.postgresql.org; Tue, 27 Oct 2020 16:47:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXS88-0008KK-KX for pgsql-docs@lists.postgresql.org; Tue, 27 Oct 2020 16:47:28 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXS86-0002Vn-Dz for pgsql-docs@lists.postgresql.org; Tue, 27 Oct 2020 16:47:27 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1kXS84-00072Q-Tm; Tue, 27 Oct 2020 12:47:24 -0400 Date: Tue, 27 Oct 2020 12:47:24 -0400 From: Bruce Momjian To: e.indrupskaya@postgrespro.ru, pgsql-docs@lists.postgresql.org Subject: Re: Missing directory is mentioned on page https://www.postgresql.org/docs/13/libpq-exec.html. Message-ID: <20201027164724.GN4951@momjian.us> References: <160379609706.24746.7506163279454026608@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="xo44VMWPx7vlQ2+2" Content-Disposition: inline In-Reply-To: <160379609706.24746.7506163279454026608@wrigleys.postgresql.org> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --xo44VMWPx7vlQ2+2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 27, 2020 at 10:54:57AM +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/13/libpq-threading.html > Description: > > On page https://www.postgresql.org/docs/13/libpq-exec.html, non-existing > directory is mentioned: src/tools/thread. Good find. This directory was removed last week in this commit: commit 8a2121185b Author: Tom Lane Date: Wed Oct 21 12:08:48 2020 -0400 Remove the option to build thread_test.c outside configure. Theoretically one could go into src/test/thread and build/run this program there. In practice, that hasn't worked since 96bf88d52, and probably much longer on some platforms (likely including just the sort of hoary leftovers where this test might be of interest). While it wouldn't be too hard to repair the breakage, the fact that nobody has noticed for two years shows that there is zero usefulness in maintaining this build pathway. Let's get rid of it and decree that thread_test.c is *only* meant to be built/used in configure. Given that decision, it makes sense to put thread_test.c under config/ and get rid of src/test/thread altogether, so that's what I did. In passing, update src/test/README, which had been ignored by some not-so-recent additions of subdirectories. Discussion: https://postgr.es/m/227659.1603041612@sss.pgh.pa.us I have applied the attached patch to all branches to remove the paragraph. I think the docs are only built when there is a minor release, so it might take a few weeks until the online docs are updated. You found this very quickly. :-) -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee --xo44VMWPx7vlQ2+2 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="master.diff" diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index de60281fcb..9ce32fb39b 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -8052,14 +8052,6 @@ int PQisthreadsafe(); libpq source code for a way to do cooperative locking between libpq and your application. - - - If you experience problems with threaded applications, run the program - in src/tools/thread to see if your platform has - thread-unsafe functions. This program is run by - configure, but for binary distributions your - library might not match the library used to build the binaries. - --xo44VMWPx7vlQ2+2--