Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmCSI-0001uc-Kl for pgsql-docs@arkaria.postgresql.org; Wed, 23 Jan 2019 06:56:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gmCSG-00076U-21 for pgsql-docs@arkaria.postgresql.org; Wed, 23 Jan 2019 06:56:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmCSF-00076M-SO for pgsql-docs@lists.postgresql.org; Wed, 23 Jan 2019 06:56:07 +0000 Received: from mx2.mailbox.org ([80.241.60.215]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmCSD-00045C-G5 for pgsql-docs@lists.postgresql.org; Wed, 23 Jan 2019 06:56:07 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id BBFC9A1100; Wed, 23 Jan 2019 07:56:03 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id vn5toxyvQnR8; Wed, 23 Jan 2019 07:56:03 +0100 (CET) Date: Wed, 23 Jan 2019 08:56:04 +0200 From: Pavlo Golub Message-ID: <1663901278.20190123085604@cybertec.at> To: Michael Paquier , Tom Lane CC: pgsql-docs@lists.postgresql.org Subject: Re: `transaction_read_only` GUC undocumented In-Reply-To: <20190123061422.GK3873@paquier.xyz> References: <20190123002536.GC3873@paquier.xyz> <18fa8fbf-f5a3-4e4b-b751-8b9da58c117c@email.android.com> <20190123055440.GI3873@paquier.xyz> <4210.1548223651@sss.pgh.pa.us> <20190123061422.GK3873@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Greetings, Michael. You wrote 23.01.2019, 8:14: > On Wed, Jan 23, 2019 at 01:07:31AM -0500, Tom Lane wrote: >> Michael Paquier writes: >>> transaction_read_only is listed in src/backend/utils/misc/guc.c, so we >>> could put a description close to default_transaction_read_only in >>> config.sgml, except that transaction_read_only sets the current >>> transaction's read-only status. >> >> Do we really want to document that? It's not the standard-approved >> way of making a transaction read-only. > i'd rather document them clearly rather than letting them around with > users guessing what they actually do (remember the recent thread about > replication parameter in connection strings). Exactly my case. Client sent support request stating that changing this parameter doesn't work. Of course, he was doing this outside of transaction. And of course he doesn't find manual reference and was guessing about it's behavior. > By the way, I can see > that transaction_deferrable and transaction_isolation are not around > either... > -- > Michael -- Kind regards, Pavlo mailto:pavlo.golub@cybertec.at