From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: show() function |
Date: | 2002-06-24 17:49:01 |
Message-ID: | 3D175B8D.3000209@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Peter Eisentraut wrote:
> The only reason this function doesn't exist yet is that I've been avoiding
> this very question.
>
> My personal favorite these days was get_session_characteristic(), which is
> reasonably SQL-related and doesn't overload any confusing terms such as
> parameter, variable, or option. However, considering the new
> transaction-only settings, this name would be incorrect. Again, stealing
> from SQL, an alternative could be current_characteristic(), which you
> couldn't really argue against except on the ground that it's pretty weird.
Some alternatives:
current_setting()
current_configuration()
current_behavior()
Do you like any of these better?
Joe
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-06-24 20:53:17 | Re: several minor cleanups |
Previous Message | Andrew Sullivan | 2002-06-24 17:44:29 | Some Solaris notes, and an invitation |