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-2008, 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.5 2008/01/01 19:45:56 momjian Exp $
16 *-------------------------------------------------------------------------
21 #include "nodes/pg_list.h"
23 extern Datum transformRelOptions(Datum oldOptions, List *defList,
24 bool ignoreOids, bool isReset);
26 extern List *untransformRelOptions(Datum options);
28 extern void parseRelOptions(Datum options, int numkeywords,
29 const char *const * keywords,
30 char **values, bool validate);
32 extern bytea *default_reloptions(Datum reloptions, bool validate,
33 int minFillfactor, int defaultFillfactor);
35 extern bytea *heap_reloptions(char relkind, Datum reloptions, bool validate);
37 extern bytea *index_reloptions(RegProcedure amoptions, Datum reloptions,
40 #endif /* RELOPTIONS_H */