Skip to content

Commit 381d803

Browse files
committed
refactor: remove guc static values
These are out of sync and unneeded.
1 parent 37092ce commit 381d803

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/worker.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ _Static_assert(LIBCURL_VERSION_NUM >= MIN_LIBCURL_VERSION_NUM, "libcurl >= 7.83.
3131

3232
PG_MODULE_MAGIC;
3333

34-
static char *guc_ttl = "6 hours";
35-
static int guc_batch_size = 500;
36-
static char* guc_database_name = "postgres";
34+
static char *guc_ttl;
35+
static int guc_batch_size;
36+
static char* guc_database_name;
3737

3838
void _PG_init(void);
3939
PGDLLEXPORT void pg_net_worker(Datum main_arg) pg_attribute_noreturn();
@@ -411,9 +411,7 @@ void pg_net_worker(Datum main_arg) {
411411
proc_exit(EXIT_FAILURE);
412412
}
413413

414-
void
415-
_PG_init(void)
416-
{
414+
void _PG_init(void) {
417415
if (IsBinaryUpgrade) {
418416
return;
419417
}

0 commit comments

Comments
 (0)