From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: 9.5 Create Function Set From Current taken at creation time?
Date: Tue, 09 Aug 2016 09:43:50 -0400
Message-ID: <20203.1470750230@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwbtGWGPO4EhNwwtOQBAiw3raQzVKqF83=siOq3iev5tUA@mail.gmail.com>
References: <CAKFQuwa=PBrKeXKv1kukEY81J6LkVHo7yRE6yM+FO6Dv+4stcQ@mail.gmail.com>
<8cee0868-4d5c-beab-ea5d-82b8158d6e6b@2ndquadrant.com>
<CAKFQuwbtGWGPO4EhNwwtOQBAiw3raQzVKqF83=siOq3iev5tUA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> Can we change the second sentence in the above quote to something like:
> SET FROM CURRENT is a convenience expression to capture the result of
> current_setting('setting name') at the time of the function's creation. [if
> more than just convenience an example of when this is useful would be nice].
"Convenience" normally means that there's some other way to get the same
result. I do not know of one, and I doubt we'd have introduced the
feature if there was.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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, david.g.johnston@gmail.com, peter.eisentraut@2ndquadrant.com
Subject: Re: 9.5 Create Function Set From Current taken at creation time?
In-Reply-To: <20203.1470750230@sss.pgh.pa.us>
References: <CAKFQuwa=PBrKeXKv1kukEY81J6LkVHo7yRE6yM+FO6Dv+4stcQ@mail.gmail.com> <8cee0868-4d5c-beab-ea5d-82b8158d6e6b@2ndquadrant.com> <CAKFQuwbtGWGPO4EhNwwtOQBAiw3raQzVKqF83=siOq3iev5tUA@mail.gmail.com> <20203.1470750230@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