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 1gybxg-0002U8-SZ for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Feb 2019 12:35:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gybxf-0006Fe-F9 for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Feb 2019 12:35:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gybxe-0006FX-VG for pgsql-hackers@lists.postgresql.org; Tue, 26 Feb 2019 12:35:51 +0000 Received: from forward101p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:101]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gybxa-0003TX-L9 for pgsql-hackers@postgreSQL.org; Tue, 26 Feb 2019 12:35:49 +0000 Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 2D9C53280B92 for ; Tue, 26 Feb 2019 15:35:42 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Cm7w55zbLc-ZgDCLVnj; Tue, 26 Feb 2019 15:35:42 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1551184542; bh=ac3+YZ6/586jr1ETv6AJGyDgn5yuko8jqj7zq5zBiwc=; h=In-Reply-To:Subject:To:From:References:Date:Message-ID; b=pGTplrPK96KOn7zqPyRl4oEtsW77RmLyUohd0heDPye0idSx1rfhQ6CzRpy67Sad8 RS4o9gDAL8OdUSOJjzJPZZnCmbs0bKpzDnHw1Ifch9cqTikAP/ihFNoNFPgJXEQnxB ENTVQm276mCD/QzXnWEbY2PhguLFrZutUQsW5aqg= Authentication-Results: mxback1g.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id obivvuMdb2-Zfs4LVnj; Tue, 26 Feb 2019 15:35:41 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) Date: Tue, 26 Feb 2019 14:35:39 +0200 From: Eugen Konkov Message-ID: <356428520.20190226143539@yandex.ru> To: PostgreSQL-development Subject: Re: BUG #15646: Inconsistent behavior for current_setting/set_config In-Reply-To: <2247b773-fe5a-c08a-5655-5dff35be2954@joeconway.com> References: <15646-0d3caee9f6266f60@postgresql.org> <16698.1550682675@sss.pgh.pa.us> <2247b773-fe5a-c08a-5655-5dff35be2954@joeconway.com> 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 Hello, Not sure I should open new issue or continue this one. select set_config( 'my.some_conf', 'value', true ); does not issue warning if there is no transaction in progress. I faced into this problem when call to stored function which make use of configurations. and missed that this function has no effect because there is no transaction in progress -- Best regards, Eugen Konkov