1 /*-------------------------------------------------------------------------
4 * Core support for relation options (pg_class.reloptions)
6 * Note: the functions dealing with text-array reloptions values declare
7 * them as Datum, not ArrayType *, to avoid needing to include array.h
8 * into a lot of low-level code.
11 * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
12 * Portions Copyright (c) 1994, Regents of the University of California
14 * $PostgreSQL: pgsql/src/include/access/reloptions.h,v 1.3 2007/01/05 22:19:51 momjian Exp $
16 *-------------------------------------------------------------------------
21 #include "nodes/pg_list.h"
23 extern Datum transformRelOptions(Datum oldOptions, List *defList,
24 bool ignoreOids, bool isReset);
26 extern void parseRelOptions(Datum options, int numkeywords,
27 const char *const * keywords,
28 char **values, bool validate);
30 extern bytea *default_reloptions(Datum reloptions, bool validate,
31 int minFillfactor, int defaultFillfactor);
33 extern bytea *heap_reloptions(char relkind, Datum reloptions, bool validate);
35 extern bytea *index_reloptions(RegProcedure amoptions, Datum reloptions,
38 #endif /* RELOPTIONS_H */