diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2009-02-02 19:31:40 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2009-02-02 19:31:40 +0000 |
commit | 3a5b77371522b64feda006a7aed2a0e57bfb2b22 (patch) | |
tree | 2a3660571ea184c8e40a78608839914af4f2bb27 /src/backend/nodes/makefuncs.c | |
parent | 80f95a6500d7f5762e4701c80eb202c3fce9095f (diff) | |
download | postgresql-3a5b77371522b64feda006a7aed2a0e57bfb2b22.tar.gz postgresql-3a5b77371522b64feda006a7aed2a0e57bfb2b22.zip |
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.
Diffstat (limited to 'src/backend/nodes/makefuncs.c')
-rw-r--r-- | src/backend/nodes/makefuncs.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/backend/nodes/makefuncs.c b/src/backend/nodes/makefuncs.c index 3bbb2a38a8c..39d7e20f83e 100644 --- a/src/backend/nodes/makefuncs.c +++ b/src/backend/nodes/makefuncs.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/nodes/makefuncs.c,v 1.62 2009/01/01 17:23:43 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/nodes/makefuncs.c,v 1.63 2009/02/02 19:31:39 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -374,3 +374,14 @@ makeOptionDefElem(int op, DefElem *def) res->def = def; return res; } + +ReloptElem * +makeReloptElem(char *name, char *nmspc, Node *arg) +{ + ReloptElem *res = makeNode(ReloptElem); + + res->optname = name; + res->nmspc = nmspc; + res->arg = arg; + return res; +} |