diff --git a/META.json b/META.json index 08cd7eb8..59da1562 100644 --- a/META.json +++ b/META.json @@ -2,7 +2,7 @@ "name": "pg_hint_plan13", "abstract": "Query hints in SQL comments", "description": "This library adds support for query hints in SQL comments in PostgreSQL 13.", - "version": "1.3.9", + "version": "1.3.10", "maintainer": [ "Michael Paquier " ], @@ -19,7 +19,7 @@ "abstract": "Query hints in SQL comments", "file": "pg_hint_plan--1.3.0.sql", "docfile": "README.md", - "version": "1.3.9" + "version": "1.3.10" } }, "resources": { diff --git a/Makefile b/Makefile index b42926d4..7ff6809a 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # MODULES = pg_hint_plan -HINTPLANVER = 1.3.9 +HINTPLANVER = 1.3.10 REGRESS = init base_plan pg_hint_plan ut-init ut-A ut-S ut-J ut-L ut-G ut-R \ ut-fdw ut-W ut-T ut-fini plpgsql oldextversions @@ -22,7 +22,8 @@ DATA = \ pg_hint_plan--1.3.4--1.3.5.sql \ pg_hint_plan--1.3.6--1.3.7.sql \ pg_hint_plan--1.3.7--1.3.8.sql \ - pg_hint_plan--1.3.8--1.3.9.sql + pg_hint_plan--1.3.8--1.3.9.sql \ + pg_hint_plan--1.3.9--1.3.10.sql EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out RPMS diff --git a/SPECS/pg_hint_plan13.spec b/SPECS/pg_hint_plan13.spec index 4c0fa402..7b4eaa82 100644 --- a/SPECS/pg_hint_plan13.spec +++ b/SPECS/pg_hint_plan13.spec @@ -16,7 +16,7 @@ ## Set general information for pg_store_plans. Summary: Optimizer hint on PostgreSQL 12 Name: pg_hint_plan13 -Version: 1.3.9 +Version: 1.3.10 Release: 1%{?dist} License: BSD Group: Applications/Databases @@ -39,7 +39,7 @@ Note that this package is available for only PostgreSQL 13. %package llvmjit Requires: postgresql13-server, postgresql13-llvmjit -Requires: pg_hint_plan13 = 1.3.9 +Requires: pg_hint_plan13 = 1.3.10 Summary: Just-in-time compilation support for pg_hint_plan13 %description llvmjit @@ -83,6 +83,7 @@ rm -rf %{buildroot} %{_datadir}/extension/pg_hint_plan--1.3.6--1.3.7.sql %{_datadir}/extension/pg_hint_plan--1.3.7--1.3.8.sql %{_datadir}/extension/pg_hint_plan--1.3.8--1.3.9.sql +%{_datadir}/extension/pg_hint_plan--1.3.9--1.3.10.sql %{_datadir}/extension/pg_hint_plan.control %files llvmjit @@ -94,6 +95,8 @@ rm -rf %{buildroot} # History of pg_hint_plan. %changelog +* Tue Aug 27 2024 Michael Paquier +- Version 1.3.10. * Tue Aug 29 2023 Michael Paquier - Version 1.3.9. * Fri Jan 20 2023 Michael Paquier diff --git a/expected/oldextversions.out b/expected/oldextversions.out index f9d443c4..16132969 100644 --- a/expected/oldextversions.out +++ b/expected/oldextversions.out @@ -91,4 +91,13 @@ Objects in extension "pg_hint_plan" table hint_plan.hints (2 rows) +ALTER EXTENSION pg_hint_plan UPDATE TO "1.3.10"; +\dx+ pg_hint_plan +Objects in extension "pg_hint_plan" + Object description +--------------------------------- + sequence hint_plan.hints_id_seq + table hint_plan.hints +(2 rows) + DROP EXTENSION pg_hint_plan; diff --git a/pg_hint_plan--1.3.9--1.3.10.sql b/pg_hint_plan--1.3.9--1.3.10.sql new file mode 100644 index 00000000..eb1c3d94 --- /dev/null +++ b/pg_hint_plan--1.3.9--1.3.10.sql @@ -0,0 +1,10 @@ +/* pg_hint_plan/pg_hint_plan--1.3.9--1.3.10.sql */ + +-- complain if script is sourced in psql, rather than via ALTER EXTENSION +\echo Use "ALTER EXTENSION pg_hint_plan UPDATE TO '1.3.10'" to load this file. \quit + +SELECT pg_catalog.pg_extension_config_dump('hint_plan.hints',''); +SELECT pg_catalog.pg_extension_config_dump('hint_plan.hints_id_seq',''); + +GRANT SELECT ON hint_plan.hints TO PUBLIC; +GRANT USAGE ON SCHEMA hint_plan TO PUBLIC; diff --git a/pg_hint_plan.control b/pg_hint_plan.control index b183673c..11537db6 100644 --- a/pg_hint_plan.control +++ b/pg_hint_plan.control @@ -1,6 +1,6 @@ # pg_hint_plan extension comment = '' -default_version = '1.3.9' +default_version = '1.3.10' relocatable = false schema = hint_plan diff --git a/sql/oldextversions.sql b/sql/oldextversions.sql index c29f313d..7f20c6e6 100644 --- a/sql/oldextversions.sql +++ b/sql/oldextversions.sql @@ -22,4 +22,6 @@ ALTER EXTENSION pg_hint_plan UPDATE TO "1.3.8"; \dx+ pg_hint_plan ALTER EXTENSION pg_hint_plan UPDATE TO "1.3.9"; \dx+ pg_hint_plan +ALTER EXTENSION pg_hint_plan UPDATE TO "1.3.10"; +\dx+ pg_hint_plan DROP EXTENSION pg_hint_plan;