firtst release
Revisão | f5ad8dc5ae6416f79ef4e8b7d7c6b63c378579ab (tree) |
---|---|
Hora | 2018-06-08 14:52:40 |
Autor | Kyotaro Horiguchi <horiguchi.kyotaro@lab....> |
Commiter | Kyotaro Horiguchi |
Change version to 1.3.1.
1.3.0 has a crash bug in Describe message of extended protocol
path. If server receives the message after invalidation of
corresponding query cache, pg_hint_plan crashes.
On the way fixing it, this version took in the following commits of
core and pg_stat_statements.
8b6294c7a5 Change more places to be less trusting of RestrictInfo.is_pushed_down.
83f2061dd0 Teach contrib/pg_stat_statements to handle multi-statement commands better.
0bb51aa967 Improve parsetree representation of special functions such as CURRENT_DATE.
@@ -1,4 +1,4 @@ | ||
1 | -Copyright (c) 2012-2017, NIPPON TELEGRAPH AND TELEPHONE CORPORATION | |
1 | +Copyright (c) 2012-2018, NIPPON TELEGRAPH AND TELEPHONE CORPORATION | |
2 | 2 | All rights reserved. |
3 | 3 | |
4 | 4 | Redistribution and use in source and binary forms, with or without |
@@ -1,11 +1,11 @@ | ||
1 | 1 | # |
2 | 2 | # pg_hint_plan: Makefile |
3 | 3 | # |
4 | -# Copyright (c) 2012-2017, NIPPON TELEGRAPH AND TELEPHONE CORPORATION | |
4 | +# Copyright (c) 2012-2018, NIPPON TELEGRAPH AND TELEPHONE CORPORATION | |
5 | 5 | # |
6 | 6 | |
7 | 7 | MODULES = pg_hint_plan |
8 | -HINTPLANVER = 1.3.0 | |
8 | +HINTPLANVER = 1.3.1 | |
9 | 9 | |
10 | 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 |
11 | 11 |
@@ -14,7 +14,7 @@ REGRESSION_EXPECTED = expected/init.out expected/base_plan.out expected/pg_hint_ | ||
14 | 14 | REGRESS_OPTS = --encoding=UTF8 |
15 | 15 | |
16 | 16 | EXTENSION = pg_hint_plan |
17 | -DATA = pg_hint_plan--1.3.0.sql | |
17 | +DATA = pg_hint_plan--1.3.1.sql pg_hint_plan--1.3.0--1.3.1.sql | |
18 | 18 | |
19 | 19 | EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out RPMS |
20 | 20 |
@@ -1,5 +1,5 @@ | ||
1 | -# SPEC file for pg_store_plans | |
2 | -# Copyright(C) 2017 NIPPON TELEGRAPH AND TELEPHONE CORPORATION | |
1 | +# SPEC file for pg_hint_plans | |
2 | +# Copyright(C) 2018 NIPPON TELEGRAPH AND TELEPHONE CORPORATION | |
3 | 3 | |
4 | 4 | %define _pgdir /usr/pgsql-10 |
5 | 5 | %define _bindir %{_pgdir}/bin |
@@ -14,7 +14,7 @@ | ||
14 | 14 | ## Set general information for pg_store_plans. |
15 | 15 | Summary: Optimizer hint on PostgreSQL 10 |
16 | 16 | Name: pg_hint_plan10 |
17 | -Version: 1.3.0 | |
17 | +Version: 1.3.1 | |
18 | 18 | Release: 1%{?dist} |
19 | 19 | License: BSD |
20 | 20 | Group: Applications/Databases |
@@ -57,7 +57,8 @@ rm -rf %{buildroot} | ||
57 | 57 | install -d %{buildroot}%{_libdir} |
58 | 58 | install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so |
59 | 59 | install -d %{buildroot}%{_datadir}/extension |
60 | -install -m 644 pg_hint_plan--1.3.0.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.0.sql | |
60 | +install -m 644 pg_hint_plan--1.3.1.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.1.sql | |
61 | +install -m 644 pg_hint_plan--1.3.0--1.3.1.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.0--1.3.1.sql | |
61 | 62 | install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control |
62 | 63 | |
63 | 64 | %clean |
@@ -67,11 +68,14 @@ rm -rf %{buildroot} | ||
67 | 68 | %defattr(0755,root,root) |
68 | 69 | %{_libdir}/pg_hint_plan.so |
69 | 70 | %defattr(0644,root,root) |
70 | -%{_datadir}/extension/pg_hint_plan--1.3.0.sql | |
71 | +%{_datadir}/extension/pg_hint_plan--1.3.1.sql | |
72 | +%{_datadir}/extension/pg_hint_plan--1.3.0--1.3.1.sql | |
71 | 73 | %{_datadir}/extension/pg_hint_plan.control |
72 | 74 | |
73 | 75 | # History of pg_hint_plan. |
74 | 76 | %changelog |
77 | +* Tue Jun 08 2018 Kyotaro Horiguchi | |
78 | +- Fixed a crash bug. | |
75 | 79 | * Tue Oct 10 2017 Kyotaro Horiguchi |
76 | 80 | - Support PostgreSQL 10. Version 1.3.0. |
77 | 81 | * Tue Feb 7 2017 Kyotaro Horiguchi |
@@ -0,0 +1,6 @@ | ||
1 | +/* pg_hint_plan/pg_hint_plan--1.3.0--1.3.1.sql */ | |
2 | + | |
3 | +-- complain if script is sourced in psql, rather than via CREATE EXTENSION | |
4 | +\echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit | |
5 | + | |
6 | +-- nothing to do upgrading from 1.3.0. |
@@ -1,6 +1,6 @@ | ||
1 | 1 | # pg_hint_plan extension |
2 | 2 | |
3 | 3 | comment = '' |
4 | -default_version = '1.3.0' | |
4 | +default_version = '1.3.1' | |
5 | 5 | relocatable = false |
6 | 6 | schema = hint_plan |