# pg_stat_plan/Makefile
MODULES = pg_store_plans
-STOREPLANSVER = 1.3.1
+STOREPLANSVER = 1.3
MODULE_big = pg_store_plans
OBJS = pg_store_plans.o pgsp_json.o pgsp_json_text.o pgsp_explain.o
PG_VERSION := $(shell pg_config --version | sed "s/^PostgreSQL //" | sed "s/\.[0-9]*$$//")
-DATA = pg_store_plans--1.3.1.sql pg_store_plans--1.3--1.3.1.sql
+DATA = pg_store_plans--1.3.sql
ifeq ($(PG_VERSION),10)
DATA += pg_store_plans--1.2--1.3.sql
endif
# SPEC file for pg_store_plans
-# Copyright(C) 2020 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
+# Copyright(C) 2019 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
%define _pgdir /usr/pgsql-10
%define _bindir %{_pgdir}/bin
## Set general information for pg_store_plans.
Summary: Record executed plans on PostgreSQL 10
Name: pg_store_plans10
-Version: 1.3.1
+Version: 1.3
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
install pg_store_plans.so %{buildroot}%{_libdir}/pg_store_plans.so
install -d %{buildroot}%{_datadir}/extension
install -m 644 pg_store_plans--1.2--1.3.sql %{buildroot}%{_datadir}/extension/pg_store_plans--1.2--1.3.sql
-install -m 644 pg_store_plans--1.3--1.3.1.sql %{buildroot}%{_datadir}/extension/pg_store_plans--1.3--1.3.1.sql
-install -m 644 pg_store_plans--1.3.1.sql %{buildroot}%{_datadir}/extension/pg_store_plans--1.3.1.sql
+install -m 644 pg_store_plans--1.3.sql %{buildroot}%{_datadir}/extension/pg_store_plans--1.3.sql
install -m 644 pg_store_plans.control %{buildroot}%{_datadir}/extension/pg_store_plans.control
%clean
%{_libdir}/pg_store_plans.so
%defattr(0644,root,root)
%{_datadir}/extension/pg_store_plans--1.2--1.3.sql
-%{_datadir}/extension/pg_store_plans--1.3--1.3.1.sql
-%{_datadir}/extension/pg_store_plans--1.3.1.sql
+%{_datadir}/extension/pg_store_plans--1.3.sql
%{_datadir}/extension/pg_store_plans.control
# History of pg_store_plans.
%changelog
-* Tue Jan 30 2020 Kyotaro Horiguchi
-- Fixed a bug.
* Tue Jan 22 2019 Kyotaro Horiguchi
- Fixed a bug.
* Tue Oct 10 2017 Kyotaro Horiguchi
# SPEC file for pg_store_plans
-# Copyright(C) 2020 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
+# Copyright(C) 2019 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
%define _pgdir /usr/pgsql-11
%define _bindir %{_pgdir}/bin
## Set general information for pg_store_plans.
Summary: Record executed plans on PostgreSQL 11
Name: pg_store_plans11
-Version: 1.3.1
-Release: 1%{?dist}
+Version: 1.3
+Release: 2%{?dist}
License: BSD
Group: Applications/Databases
Source0: %{name}-%{version}.tar.gz
%package llvmjit
Requires: postgresql11-server, postgresql11-llvmjit
-Requires: pg_store_plans11 = 1.3.1
+Requires: pg_store_plans11 = 1.3
Summary: Just-in-time compilation support for pg_store_plans11
%description llvmjit
%defattr(0755,root,root)
%{_libdir}/pg_store_plans.so
%defattr(0644,root,root)
-%{_datadir}/extension/pg_store_plans--1.3--1.3.1.sql
-%{_datadir}/extension/pg_store_plans--1.3.1.sql
+%{_datadir}/extension/pg_store_plans--1.3.sql
%{_datadir}/extension/pg_store_plans.control
%files llvmjit
# History of pg_store_plans.
%changelog
-* Tue Jan 30 2020 Kyotaro Horiguchi
-- Fixed a bug.
* Tue Jan 22 2019 Kyotaro Horiguchi
- Supports PostgreSQL 11
* Tue Oct 10 2017 Kyotaro Horiguchi
# SPEC file for pg_store_plans
-# Copyright(C) 2020 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
+# Copyright(C) 2019 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
%define _pgdir /usr/pgsql-9.6
%define _bindir %{_pgdir}/bin
## Set general information for pg_store_plans.
Summary: Record executed plans on PostgreSQL 9.6
Name: pg_store_plans96
-Version: 1.3.1
+Version: 1.3
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
install -d %{buildroot}%{_datadir}/extension
install -m 644 pg_store_plans--1.1--1.2.sql %{buildroot}%{_datadir}/extension/pg_store_plans--1.1--1.2.sql
install -m 644 pg_store_plans--1.2--1.3.sql %{buildroot}%{_datadir}/extension/pg_store_plans--1.2--1.3.sql
-install -m 644 pg_store_plans--1.3--1.3.1.sql %{buildroot}%{_datadir}/extension/pg_store_plans--1.3--1.3.1.sql
-install -m 644 pg_store_plans--1.3.1.sql %{buildroot}%{_datadir}/extension/pg_store_plans--1.3.1.sql
+install -m 644 pg_store_plans--1.3.sql %{buildroot}%{_datadir}/extension/pg_store_plans--1.3.sql
install -m 644 pg_store_plans.control %{buildroot}%{_datadir}/extension/pg_store_plans.control
%clean
%defattr(0644,root,root)
%{_datadir}/extension/pg_store_plans--1.1--1.2.sql
%{_datadir}/extension/pg_store_plans--1.2--1.3.sql
-%{_datadir}/extension/pg_store_plans--1.3--1.3.1.sql
-%{_datadir}/extension/pg_store_plans--1.3.1.sql
+%{_datadir}/extension/pg_store_plans--1.3.sql
%{_datadir}/extension/pg_store_plans.control
# History of pg_store_plans.
%changelog
-* Tue Jan 30 2020 Kyotaro Horiguchi
-- Fixed a bug.
* Tue Jan 22 2019 Kyotaro Horiguchi
- Fixed a bug.
* Fri Aug 26 2016 Kyotaro Horiguchi
+++ /dev/null
--- Nothing to do for SQL definitions as of 1.2
# pg_store_plans extension
comment = 'track plan statistics of all SQL statements executed'
-default_version = '1.3.1'
+default_version = '1.3'
module_pathname = '$libdir/pg_store_plans'
relocatable = true