Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcdceadf

Browse files
author
Nikita Glukhov
committed
Disable VACUUM FULL on jsonb_toaster TOAST relation
1 parentf834d3e commitcdceadf

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+
staticint
3801+
jsonb_toaster_relinfo(Relationtoastrel)
3802+
{
3803+
returnTOASTREL_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)

[8]ページ先頭

©2009-2025 Movatter.jp