show() function

From: Joe Conway <mail(at)joeconway(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: show() function
Date: 2002-06-22 03:17:40
Message-ID: 3D13EC54.4070304@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Attached is a patch which (I believe) addresses Peter's concerns with
respect to the previous showguc patch. In this patch, contrib/showguc is
gone, the term GUC is not exposed to user space, and a builtin
show('gucvarname') function returning a single scalar value has been
added, e.g.:

test=# select show('wal_sync_method');
show
-----------
fdatasync
(1 row)

I will work up new table function API examples per Peter's suggestion,
and finish the C API documentation (hopefully before the weekend is
over) in a separate patch.

If there are no further objections, please apply.

Thanks,

Joe

Attachment Content-Type Size
guc.2002.06.21.1.patch text/plain 6.6 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-06-22 03:57:15 Re: Reduce heap tuple header size
Previous Message Alvaro Herrera 2002-06-22 01:38:12 Re: Reduce heap tuple header size