Hi all, While looking at this code, I have noticed that a couple of reloptions which are not toast-specific don't get properly initialized. toast_tuple_target and parallel_workers are the ones standing out.
Thoughts? -- Michael
diff --git a/src/backend/access/common/reloptions.c b/src/backend/access/common/reloptions.c index de06c92574..02ea6f748f 100644 --- a/src/backend/access/common/reloptions.c +++ b/src/backend/access/common/reloptions.c @@ -1482,6 +1482,8 @@ heap_reloptions(char relkind, Datum reloptions, bool validate) rdopts->fillfactor = 100; rdopts->autovacuum.analyze_threshold = -1; rdopts->autovacuum.analyze_scale_factor = -1; + rdopts->parallel_workers = -1; + rdopts->toast_tuple_target = TOAST_TUPLE_TARGET; } return (bytea *) rdopts; case RELKIND_RELATION:
signature.asc
Description: PGP signature