Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E1BCF475E88 for ; Sat, 31 Aug 2002 19:27:41 -0400 (EDT) Received: from joeconway.com (unknown [63.210.180.150]) by postgresql.org (Postfix) with ESMTP id 23073475E85 for ; Sat, 31 Aug 2002 19:27:41 -0400 (EDT) Received: from [192.168.5.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 3.5.9) with ESMTP-TLS id 1317839 for pgsql-patches@postgresql.org; Sat, 31 Aug 2002 16:12:44 -0700 Message-ID: <3D715089.1050507@joeconway.com> Date: Sat, 31 Aug 2002 16:26:01 -0700 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: PostgreSQL Patches Subject: pg_settings doc patch Content-Type: multipart/mixed; boundary="------------000107020502040602030209" X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/660 X-Sequence-Number: 5196 This is a multi-part message in MIME format. --------------000107020502040602030209 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Here is a documentation patch for the pg_settings virtual table. If there are no objections, please apply. Thanks, Joe --------------000107020502040602030209 Content-Type: text/html; name="pg_settings-doc.1.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pg_settings-doc.1.patch" Index: doc/src/sgml/catalogs.sgml =================================================================== RCS file: /opt/src/cvs/pgsql-server/doc/src/sgml/catalogs.sgml,v retrieving revision 2.56 diff -c -r2.56 catalogs.sgml *** doc/src/sgml/catalogs.sgml 30 Aug 2002 19:23:18 -0000 2.56 --- doc/src/sgml/catalogs.sgml 31 Aug 2002 22:46:02 -0000 *************** *** 162,167 **** --- 162,172 ---- + pg_settings + current session run-time parameters + + + pg_statistic optimizer statistics *************** *** 2858,2863 **** --- 2863,2924 ---- text[] Session defaults for run-time configuration variables + + + + + + + + + + pg_settings + + + pg_settings virtual table allows display and update + of current session run-time parameters. There is one entry for each of the + available parameters provided by SHOW ALL. But it is + in a form that allows it to be joined with other relations and have a + selection criteria applied. + + + + An UPDATE performed on pg_settings + is equivalent to executing the SET command on that named + parameter. The change only affects the value used by the current session. If + an UPDATE is issued within a transaction that is later + aborted, the effects of the UPDATE command disappear when + the transaction is rolled back. Once the surrounding transaction is + committed, the effects will persist until the end of the session, unless + overridden by another UPDATE or SET. + + + + pg_settings Columns + + + + + Name + Type + References + Description + + + + + + name + text + + The name of a current session run-time parameter + + + + setting + text + + The value of a current session run-time parameter --------------000107020502040602030209--