From 6348faf7d376b7ff534fbf8abbaae6f425b24534 Mon Sep 17 00:00:00 2001 From: Nitish Upreti Date: Sun, 28 Aug 2022 17:48:30 -0700 Subject: [PATCH] Sort GUC --- src/backend/distributed/shared_library_init.c | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/backend/distributed/shared_library_init.c b/src/backend/distributed/shared_library_init.c index b5d0ca27f..88d246007 100644 --- a/src/backend/distributed/shared_library_init.c +++ b/src/backend/distributed/shared_library_init.c @@ -1806,6 +1806,36 @@ RegisterCitusConfigVariables(void) GUC_STANDARD, NULL, NULL, NULL); + DefineCustomIntVariable( + "citus.next_cleanup_record_id", + gettext_noop("Set the next cleanup record ID to use in operation creation."), + gettext_noop("Cleanup record IDs are normally generated using a sequence. If " + "next_cleanup_record_id is set to a non-zero value, cleanup record IDs will " + "instead be generated by incrementing from the value of " + "this GUC and this will be reflected in the GUC. This is " + "mainly useful to ensure consistent cleanup record IDs when running " + "tests in parallel."), + &NextCleanupRecordId, + 0, 0, INT_MAX, + PGC_USERSET, + GUC_NO_SHOW_ALL, + NULL, NULL, NULL); + + DefineCustomIntVariable( + "citus.next_operation_id", + gettext_noop("Set the next operation ID to use in operation creation."), + gettext_noop("Operation IDs are normally generated using a sequence. If " + "next_operation_id is set to a non-zero value, operation IDs will " + "instead be generated by incrementing from the value of " + "this GUC and this will be reflected in the GUC. This is " + "mainly useful to ensure consistent operation IDs when running " + "tests in parallel."), + &NextOperationId, + 0, 0, INT_MAX, + PGC_USERSET, + GUC_NO_SHOW_ALL, + NULL, NULL, NULL); + DefineCustomIntVariable( "citus.next_placement_id", gettext_noop("Set the next placement ID to use in placement creation."), @@ -1836,36 +1866,6 @@ RegisterCitusConfigVariables(void) GUC_NO_SHOW_ALL, NULL, NULL, NULL); - DefineCustomIntVariable( - "citus.next_operation_id", - gettext_noop("Set the next operation ID to use in operation creation."), - gettext_noop("Operation IDs are normally generated using a sequence. If " - "next_operation_id is set to a non-zero value, operation IDs will " - "instead be generated by incrementing from the value of " - "this GUC and this will be reflected in the GUC. This is " - "mainly useful to ensure consistent operation IDs when running " - "tests in parallel."), - &NextOperationId, - 0, 0, INT_MAX, - PGC_USERSET, - GUC_NO_SHOW_ALL, - NULL, NULL, NULL); - - DefineCustomIntVariable( - "citus.next_cleanup_record_id", - gettext_noop("Set the next cleanup record ID to use in operation creation."), - gettext_noop("Cleanup record IDs are normally generated using a sequence. If " - "next_cleanup_record_id is set to a non-zero value, cleanup record IDs will " - "instead be generated by incrementing from the value of " - "this GUC and this will be reflected in the GUC. This is " - "mainly useful to ensure consistent cleanup record IDs when running " - "tests in parallel."), - &NextCleanupRecordId, - 0, 0, INT_MAX, - PGC_USERSET, - GUC_NO_SHOW_ALL, - NULL, NULL, NULL); - DefineCustomIntVariable( "citus.node_connection_timeout", gettext_noop("Sets the maximum duration to connect to worker nodes."),