Re: show() function - Mailing list pgsql-patches

From Joe Conway
Subject Re: show() function
Date
Msg-id 3D175B8D.3000209@joeconway.com
Whole thread Raw
In response to Re: show() function  (Peter Eisentraut <peter_e@gmx.net>)
List 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





pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [ODBC] PostgreSQL 7.2.1 and Sun's C compiler under
Next
From: "Zhenbang Wei"
Date:
Subject: [PATCH]errors_zh_TW.properties for JDBC driver