postgresql/src/include
Bruce Momjian 45e2544584 As discussed on several occasions previously, the new anonymous
composite type capability makes it possible to create a system view
based on a table function in a way that is hopefully palatable to
everyone. The attached patch takes advantage of this, moving
show_all_settings() from contrib/tablefunc into the backend (renamed
all_settings(). It is defined as a builtin returning type RECORD. During
initdb a system view is created to expose the same information presently
available through SHOW ALL. For example:

test=# select * from pg_settings where name like '%debug%';
          name          | setting
-----------------------+---------
  debug_assertions      | on
  debug_pretty_print    | off
  debug_print_parse     | off
  debug_print_plan      | off
  debug_print_query     | off
  debug_print_rewritten | off
  wal_debug             | 0
(7 rows)


Additionally during initdb two rules are created which make it possible
to change settings by updating the system view -- a "virtual table" as
Tom put it. Here's an example:

Joe Conway
2002-08-15 02:51:27 +00:00
..
access Restructure local-buffer handling per recent pghackers discussion. 2002-08-06 02:36:35 +00:00
bootstrap Update copyright to 2002. 2002-06-20 20:29:54 +00:00
catalog As discussed on several occasions previously, the new anonymous 2002-08-15 02:51:27 +00:00
commands Update with newer version of CLUSTER patch posted August 8. 2002-08-10 21:00:34 +00:00
executor ALTER TABLE DROP COLUMN works. Patch by Christopher Kings-Lynne, 2002-08-02 18:15:10 +00:00
lib Update copyright to 2002. 2002-06-20 20:29:54 +00:00
libpq Buffer-overrun paranoia. 2002-08-12 14:35:26 +00:00
mb Add Cyrillic and other encodings for encoding conversion. 2002-08-14 02:45:10 +00:00
nodes Change memory-space accounting mechanism in tuplesort.c and tuplestore.c 2002-08-12 00:36:12 +00:00
optimizer Remove _deadcode. 2002-07-24 19:16:43 +00:00
parser Cause schema-qualified FROM items and schema-qualified variable references 2002-08-08 01:44:31 +00:00
port Not needed anymore. 2002-05-05 16:47:09 +00:00
regex Implement SQL99 OVERLAY(). Allows substitution of a substring in a string. 2002-06-11 15:44:38 +00:00
rewrite The attached patch (against HEAD) implements 2002-07-18 04:43:51 +00:00
storage Code review of CLUSTER patch. Clean up problems with relcache getting 2002-08-11 21:17:35 +00:00
tcop Update copyright to 2002. 2002-06-20 20:29:54 +00:00
utils As discussed on several occasions previously, the new anonymous 2002-08-15 02:51:27 +00:00
c.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
fmgr.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
funcapi.h Here are two patches. The guc_and_tablefunc patch addresses the two 2002-07-30 16:20:03 +00:00
Makefile Include directory rearrangement 2001-08-28 14:20:28 +00:00
miscadmin.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
pg_config.h.in Change NAMEDATALEN to 64, INDEX_MAX_KEYS/MAX_FUNC_ARGS to 32, per discussion on hackers. 2002-08-13 20:40:44 +00:00
pg_config.h.win32 I'm at the win32 error messages once more. The DLL load thingy doesn't 2002-04-24 02:26:06 +00:00
pgstat.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
postgres.h This patch removes a lot of unused code related to assertions and 2002-08-10 20:29:18 +00:00
postgres_ext.h Change NAMEDATALEN to 64, INDEX_MAX_KEYS/MAX_FUNC_ARGS to 32, per discussion on hackers. 2002-08-13 20:40:44 +00:00
postgres_fe.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
rusagestub.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
strdup.h Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting. 1997-09-08 02:41:22 +00:00