• R/O
  • HTTP
  • SSH
  • HTTPS

pg_dbms_stats: List of commits


RSS
Rev. Time Author
53e9472 PRE_12 REL1_3_12 2020-10-27 14:10:58 Kyotaro Horiguchi

Change version to 1.3.12.

8093e56 2020-10-27 14:03:13 Kyotaro Horiguchi

Do not replace existing function by installation script

The installation script created some functions using CREATE OR REPLACE
FUNCTION. Those commands replace function body but don't fix
ownership, which leads to a security issue if those functions are
maliciously crafted by an attacker. Just ripping-off "OR REPLACE"
prevents that issue by causing an error for that case.

Reported by Egashira Yusuke.

e6b337d 2020-10-27 14:03:13 Kyotaro Horiguchi

Add .bc file to .gitignore

48d200b 2020-08-07 15:30:00 Kyotaro Horiguchi

Fix project URL

0ce9a67 REL1_3_11_PG11 2019-08-26 16:41:17 Kyotaro Horiguchi

Fix package dependency

Fixed dependency definition of RPM SPEC file.

28aa182 2019-08-26 16:13:07 Kyotaro Horiguchi

Add release for PG11

I forgot to release 1.3.11 for PG11. This is that.

e79f24e REL1_3_11 2018-09-26 14:07:42 Kyotaro Horiguchi

Change version to 3.9.11

ae98566 2018-09-26 11:38:08 Kyotaro Horiguchi

Fix a crash bug related to non-baserel RTEs and function indexes

dbms_stats_get_index_stats forgot that simple_rel_array may have empty
slots corresponding to non-baserel RTEs. Server crashes when saved
statitistics for function indexes are accessed while planning such a
query. This is fixed by simply skipping such entries.

2650dfa 2018-06-18 17:16:42 Kyotaro Horiguchi

Disalbe autovacuum during regression test

Autovacuum is one of the sources of unstability of regression
test. This patch turn it off during regression test.

58d0999 2018-06-18 17:16:42 Kyotaro Horiguchi

Move a test item because of a change of an error message

One error messages has been changed replacing the word 'relation' with
'table' and this hits the ut-common test case. Moved the test case
into ut-<version> files.

2f47103 2018-06-18 17:16:42 Kyotaro Horiguchi

Support PG11.

Follow the changes of some core functions.

8fb4896 2018-06-18 16:03:26 Kyotaro Horiguchi

Fix calling parameter of SPI_execute_plan

Fixed a long-standing bug but having done no harm over all existing
versions. SPI_execute_plan's third paramter is char [] but it is
called with bool []. The bool value is false and it is different from
'n', which represents !is_null so it has been worked as expected as the
result.

f52a9f6 REL1_3_10 2018-04-05 18:57:23 Kyotaro Horiguchi

Bumped up version to 1.3.10

Bumped up version to 1.3.10

967daea 2018-04-05 18:38:58 Kyotaro Horiguchi

Change copyright year of files

Change copyright year up to 2018.

5c16e06 2018-04-05 18:32:44 Kyotaro Horiguchi

Add description that it is obsolete in ChangeLog files

ChangeLog files have not maintained for a long time. The same
information is seen in commit logs nowadays. First add that
description to the files, then remove them later.

4f2c3f6 2018-04-05 18:30:04 Kyotaro Horiguchi

Remove support for PG9.2

PostgreSQL 9.2 have reached EOL. Remove support for the version.

3e61777 2018-04-05 17:13:03 Kyotaro Horiguchi

Fix relcache invalidation handling

Relcache invalidation callback can be called at every chance while
planning. Planner can crash if the invalidation callblack frees
statistics cache that have been passed to planner. This patch let
pg_dbms_stats refrain from freeing statistics cache immediately by
relcache invalidation. Invalidated cache entries are removed before
and after planner runs.

bca74a5 2017-11-14 19:14:45 Kyotaro Horiguchi

Add English document.

Added a set of English version of the document based on the
just-revised Japanese docuemnt.

cf85160 2017-11-14 19:14:45 Kyotaro Horiguchi

Edit Japanese documents.

Make it up to date, fixed some wrong descriptions and removed some
items with less importance.

1216c3a 2017-11-13 21:49:14 Kyotaro Horiguchi

Make pg_dbms_stats workable for PG11

This commit let it follow to the cahnges on the master HEAD and rig
with a complete set of subsidiary files.

b4f8855 2017-11-13 21:49:07 Kyotaro Horiguchi

Update spec files for 1.3.9 release.

Update rpm spec files for 1.3.9 release.

9714bea 2017-11-13 20:49:09 Kyotaro Horiguchi

Properly set privilege information to VariableStatData

As the fix for CVE-2017-7484, VariableStatData is required to be set
acl_ok properly and the locked stats will not be in effect if not. As
the result, pg_dbms_stats 1.3.8 doesn't work for the minor versions
since 9.2.21, 9.3.17, 9.4.12, 9.5.7 and 9.6.3. PG10 behaves so from
the first version. This commit fixes that.

The binaries built for the fixed versions can be loaded and work fine
on all minor versions containing pre-fixed versions, but the binaries
built for the pre-fixed versions still has the problem

The regression test was missing whether locked stats is 'actually
applied or not. The test items for the case is added.

The version is updated to 1.3.9.

e6136e6 2017-11-13 20:47:42 Kyotaro Horiguchi

Fix a misspelling in regression test

ff46e82 2017-11-13 20:47:37 Kyotaro Horiguchi

Version bumped up to 1.3.8.

Mainly for management reasons, version of pg_dbms_stats bumped up to
1.3.8. Since no functional changes has taken place, the change is made
only for the PostgreSQL 10 build. Other builds will be bumped up in
the future releases if any.

6a2add9 2017-09-14 13:00:51 Kyotaro Horiguchi

Prevent regtest being affected by autovacuum

The result of a test query in ut-common can contain an excessive
output caused by autovacuum. Excluded it to prevent regtest from
being disturbed.

e7b6a5e 2017-06-08 11:17:08 Kyotaro Horiguchi

Prepare RPM package build environment for Pg10

Added a spec file. Edited Makefile so that tar ball contains required
files for Pg10 version of pg_dbms_stats.

358aaa0 2017-06-08 11:17:08 Kyotaro Horiguchi

Add --build-id flag mandatory for RPM package build

Set flags for ld mandated by rpmbuild.

5f175b9 2017-06-08 11:17:07 Kyotaro Horiguchi

Drop support for PostgreSQL 9.1

9.1 has already been out of support so pg_dbms_stats will no longer be
updated for the PostgreSQL version. Several files and many branches in
C code required to support the version are removed by this commit.

cc93b98 2017-06-08 11:17:07 Kyotaro Horiguchi

Update copyright notice.

Change the year of the copyright notices.

ab29b43 2017-06-08 11:16:42 Kyotaro Horiguchi

Support PostgreSQL 10 beta 1

Just followed the changes made in PostgreSQL 10. Exnteded statistics
are not supported so far.

Show on old repository browser