1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-06 07:49:08 +03:00

Allow reloption names to have qualifiers, initially supporting a TOAST

qualifier, and add support for this in pg_dump.

This allows TOAST tables to have user-defined fillfactor, and will also
enable us to move the autovacuum parameters to reloptions without taking
away the possibility of setting values for TOAST tables.
This commit is contained in:
Alvaro Herrera
2009-02-02 19:31:40 +00:00
parent 80f95a6500
commit 3a5b773715
27 changed files with 455 additions and 130 deletions

View File

@@ -13,7 +13,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.389 2009/01/22 20:16:09 tgl Exp $
* $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.390 2009/02/02 19:31:40 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
@@ -532,6 +532,17 @@ typedef struct OptionDefElem
DefElem *def; /* The actual definition */
} OptionDefElem;
/*
* Reloption definition. As DefElem, with optional option namespace.
*/
typedef struct ReloptElem
{
NodeTag type;
char *nmspc;
char *optname;
Node *arg;
} ReloptElem;
/*
* LockingClause - raw representation of FOR UPDATE/SHARE options
*