Skip to content

Commit f91e671

Browse files
committed
prepare for 2.1.6
1 parent efe7a5d commit f91e671

9 files changed

+15
-8
lines changed

META.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"name": "plpgsql_check",
33
"abstract": "Additional tools for plpgsql functions validation",
44
"description": "The plpgsql_check is PostgreSQL extension with functionality for direct or indirect extra validation of functions in plpgsql language. It verifies a validity of SQL identifiers used in plpgsql code. It try to identify a performance issues. Modern versions has integrated profiler. The table and function dependencies can be displayed",
5-
"version": "2.1.5",
5+
"version": "2.1.6",
66
"maintainer": "Pavel STEHULE <pavel.stehule@gmail.com>",
77
"license": "bsd",
88
"provides": {
99
"plpgsql_check": {
1010
"abstract": "Additional tools for plpgsql functions validation",
1111
"file": "sql/plpgsql_check_active.sql",
1212
"docfile": "README.md",
13-
"version": "2.1.5"
13+
"version": "2.1.6"
1414
}
1515
},
1616
"prereqs": {

postgresql10-plpgsql_check.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global sname plpgsql_check
44

55
Name: %{sname}_%{pgmajorversion}
6-
Version: 2.1.5
6+
Version: 2.1.6
77
Release: 1%{?dist}
88
Summary: Additional tools for plpgsql functions validation
99

postgresql11-plpgsql_check.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global sname plpgsql_check
44

55
Name: %{sname}_%{pgmajorversion}
6-
Version: 2.1.5
6+
Version: 2.1.6
77
Release: 1%{?dist}
88
Summary: Additional tools for plpgsql functions validation
99

postgresql12-plpgsql_check.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global sname plpgsql_check
44

55
Name: %{sname}_%{pgmajorversion}
6-
Version: 2.1.5
6+
Version: 2.1.6
77
Release: 1%{?dist}
88
Summary: Additional tools for plpgsql functions validation
99

postgresql13-plpgsql_check.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global sname plpgsql_check
44

55
Name: %{sname}_%{pgmajorversion}
6-
Version: 2.1.5
6+
Version: 2.1.6
77
Release: 1%{?dist}
88
Summary: Additional tools for plpgsql functions validation
99

postgresql14-plpgsql_check.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global sname plpgsql_check
44

55
Name: %{sname}_%{pgmajorversion}
6-
Version: 2.1.5
6+
Version: 2.1.6
77
Release: 1%{?dist}
88
Summary: Additional tools for plpgsql functions validation
99

postgresql15-plpgsql_check.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global sname plpgsql_check
44

55
Name: %{sname}_%{pgmajorversion}
6-
Version: 2.1.5
6+
Version: 2.1.6
77
Release: 1%{?dist}
88
Summary: Additional tools for plpgsql functions validation
99

src/plpgsql_check.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ _PG_init(void)
309309
NULL, NULL, NULL);
310310

311311
#if PG_VERSION_NUM < 150000
312+
312313
/*
313314
* If you change code here, don't forget to also report the
314315
* modifications in plpgsql_check_profiler_shmem_request() for pg15 and
@@ -318,15 +319,19 @@ _PG_init(void)
318319

319320
RequestNamedLWLockTranche("plpgsql_check profiler", 1);
320321
RequestNamedLWLockTranche("plpgsql_check fstats", 1);
322+
321323
#endif
322324

323325
/*
324326
* Install hooks.
325327
*/
326328
#if PG_VERSION_NUM >= 150000
329+
327330
prev_shmem_startup_hook = shmem_request_hook;
328331
shmem_request_hook = plpgsql_check_profiler_shmem_request;
332+
329333
#endif
334+
330335
prev_shmem_startup_hook = shmem_startup_hook;
331336
shmem_startup_hook = plpgsql_check_profiler_shmem_startup;
332337
}

src/profiler.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ plpgsql_check_shmem_size(void)
613613
* _PG_init() for pg14 and below.
614614
*/
615615
#if PG_VERSION_NUM >= 150000
616+
616617
void
617618
plpgsql_check_profiler_shmem_request(void)
618619
{
@@ -624,6 +625,7 @@ plpgsql_check_profiler_shmem_request(void)
624625
RequestNamedLWLockTranche("plpgsql_check profiler", 1);
625626
RequestNamedLWLockTranche("plpgsql_check fstats", 1);
626627
}
628+
627629
#endif
628630

629631
/*

0 commit comments

Comments
 (0)