Re: show() function

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Joe Conway <mail(at)joeconway(dot)com>
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-23 21:51:55
Message-ID: Pine.LNX.4.44.0206232314220.929-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Joe Conway writes:

> I thought it was a good parallel to the current command, but I see your
> point. I'll wait for a while to see if Peter has any suggestions, and
> then resubmit.

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.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-06-23 21:52:12 Re: [PATCHES] PostgreSQL 7.2.1 and Sun's C compiler under Solaris8
Previous Message Peter Eisentraut 2002-06-23 21:51:40 Re: show() function