Content-Length: 274261 | pFad | http://github.com/postgrespro/postgres/commit/cdceadfc80f2c9d13667a2ea347a113d503e7fed

72 Disable VACUUM FULL on jsonb_toaster TOAST relation · postgrespro/postgres@cdceadf · GitHub
Skip to content

Commit cdceadf

Browse files
author
Nikita Glukhov
committed
Disable VACUUM FULL on jsonb_toaster TOAST relation
1 parent f834d3e commit cdceadf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

contrib/jsonb_toaster/jsonb_toaster.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3797,6 +3797,12 @@ jsonb_toaster_init(Relation rel, Oid toastoid, Oid toastindexoid,
37973797
lockmode, check, OIDOldToast);
37983798
}
37993799

3800+
static int
3801+
jsonb_toaster_relinfo(Relation toastrel)
3802+
{
3803+
return TOASTREL_VACUUM_FULL_DISABLED;
3804+
}
3805+
38003806
PG_FUNCTION_INFO_V1(jsonb_toaster_handler);
38013807
Datum
38023808
jsonb_toaster_handler(PG_FUNCTION_ARGS)
@@ -3811,6 +3817,7 @@ jsonb_toaster_handler(PG_FUNCTION_ARGS)
38113817
tsr->detoast = jsonb_toaster_detoast;
38123818
tsr->toastervalidate = jsonb_toaster_validate;
38133819
tsr->get_vtable = jsonb_toaster_vtable;
3820+
tsr->relinfo = jsonb_toaster_relinfo;
38143821

38153822
PG_RETURN_POINTER(tsr);
38163823
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/cdceadfc80f2c9d13667a2ea347a113d503e7fed

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy