From: Eugen Konkov <kes-kes@yandex.ru>
To: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Subject: Re: BUG #15646: Inconsistent behavior for current_setting/set_config
Date: Tue, 26 Feb 2019 14:35:39 +0200
Message-ID: <356428520.20190226143539@yandex.ru> (raw)
In-Reply-To: <2247b773-fe5a-c08a-5655-5dff35be2954@joeconway.com>
References: <15646-0d3caee9f6266f60@postgresql.org>
<d2ac387b-e796-e3ef-10e5-e06fede7c973@joeconway.com>
<16698.1550682675@sss.pgh.pa.us>
<2247b773-fe5a-c08a-5655-5dff35be2954@joeconway.com>
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
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: kes-kes@yandex.ru, pgsql-hackers@postgreSQL.org
Subject: Re: BUG #15646: Inconsistent behavior for current_setting/set_config
In-Reply-To: <356428520.20190226143539@yandex.ru>
References: <15646-0d3caee9f6266f60@postgresql.org> <d2ac387b-e796-e3ef-10e5-e06fede7c973@joeconway.com> <16698.1550682675@sss.pgh.pa.us> <2247b773-fe5a-c08a-5655-5dff35be2954@joeconway.com> <356428520.20190226143539@yandex.ru>
* 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