Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group