--- a/src/include/access/reloptions.h
+++ b/src/include/access/reloptions.h
@@ -98,8 +98,8 @@ typedef struct relopt_bool
 typedef struct relopt_ternary
 {
        relopt_gen      gen;
-       const char      *unset_alias; /* word that will be treated as unset value */
-       int                     default_val;
+       const char      *unset_alias;   /* word treated as unset, or NULL */
+       pg_ternary      default_val;
 } relopt_ternary;

 typedef struct relopt_int
