/* * This needs to happen whenever gp_default_storage_options GUC is * reset. */ void resetDefaultAOStorageOpts(void) { if (ao_storage_opts.compresstype) free(ao_storage_opts.compresstype); resetAOStorageOpts(&ao_storage_opts); }
/* * This needs to happen whenever gp_default_storage_options GUC is * reset. */ void resetDefaultAOStorageOpts(void) { if (ao_storage_opts.compresstype) free(ao_storage_opts.compresstype); if (ao_storage_opts.orientation) free(ao_storage_opts.orientation); resetAOStorageOpts(&ao_storage_opts); ao_storage_opts_changed = false; }