File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,7 +205,6 @@ plpgsql_check_check_ext_version(Oid fn_oid)
205205void
206206_PG_init (void )
207207{
208-
209208 /* Be sure we do initialization only once (should be redundant now) */
210209 static bool inited = false;
211210
@@ -451,7 +450,6 @@ _PG_init(void)
451450 /* Use shared memory when we can register more for self */
452451 if (process_shared_preload_libraries_in_progress )
453452 {
454-
455453 DefineCustomIntVariable ("plpgsql_check.profiler_max_shared_chunks" ,
456454 "maximum numbers of statements chunks in shared memory" ,
457455 NULL ,
@@ -489,17 +487,15 @@ _PG_init(void)
489487 }
490488
491489 plch_init_plugin ();
492- //simple_plugin_init();
493-
494490
495491 plpgsql_check_passive_check_init ();
496492 plpgsql_check_profiler_init ();
497493 plpgsql_check_tracer_init ();
498494 plpgsql_check_cursors_leaks_init ();
499495
500-
501496#if PG_VERSION_NUM >= 180000
502497
498+ /* used for checking expected version of SQL interface (extension) */
503499 CacheRegisterSyscacheCallback (EXTENSIONOID ,
504500 pg_extension_cache_callback ,
505501 (Datum ) 0 );
You can’t perform that action at this time.
0 commit comments