mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user