Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b0d277a

Browse files
author
Vladimir Ershov
committed
PG v10 now builds with mtm features
1 parent 94456af commit b0d277a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ else
2424
subdir = contrib/pgpro_scheduler
2525
top_builddir = ../..
2626
include $(top_builddir)/src/Makefile.global
27-
ifneq ($(MAJORVERSION),10)
28-
PG_CPPFLAGS = -D_WITH_MTM -I$(top_srcdir)/contrib/mmts -I$(libpq_srcdir)
29-
endif
27+
# ifneq ($(MAJORVERSION),10)
28+
# PG_CPPFLAGS = -D_WITH_MTM -I$(top_srcdir)/contrib/mmts -I$(libpq_srcdir)
29+
# endif
30+
PG_CPPFLAGS = -D_WITH_MTM -I$(top_srcdir)/contrib/mmts -I$(libpq_srcdir)
3031
include $(top_srcdir)/contrib/contrib-global.mk
3132
endif
3233

src/scheduler_manager.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,7 +1970,7 @@ void manager_worker_main(Datum arg)
19701970
if(is_under_mtm())
19711971
{
19721972
check_mtm_nodes_status();
1973-
print_log_mtm_nodes();
1973+
/* print_log_mtm_nodes(); */
19741974
time_to_check = 3;
19751975
}
19761976
#endif
@@ -2019,7 +2019,7 @@ void manager_worker_main(Datum arg)
20192019
if(is_under_mtm() && !time_to_check--)
20202020
{
20212021
check_mtm_nodes_status();
2022-
print_log_mtm_nodes();
2022+
/* print_log_mtm_nodes(); */
20232023
time_to_check = 3;
20242024
}
20252025
#endif

0 commit comments

Comments
 (0)