• R/O
  • HTTP
  • SSH
  • HTTPS

pg_store_plans: List of commits

Record execution plans and their execution statistics.


RSS
修訂. 時間 作者
408fc96 1.3 2019-02-28 15:51:55 Kyotaro Horiguchi

Fig regression test.

expected/convert.out had a wrong result based on a bug. Commit
9d7ea07912 fixed the bug with the test script being left alone. This
doesn't change the behavior so only source package with the next
release number is released.

03b16bc 2019-01-28 14:11:58 Kyotaro Horiguchi

Fix SPEC file for pg_store_plans11

The llvm subpackage wrongly rewires pg_hint_plan11. Fxied it. There'
no other differences so the dependency is described omitting the
release number.

5054165 2019-01-22 19:54:35 Kyotaro Horiguchi

Add SPEC file for PostgresSQL 11

The previous commit forgot to add the SPEC file for PostgreSQL11 and
some other files. Also Modify Makefile so that RPM files are sainly
generate.

19a154c 2019-01-22 18:20:33 Kyotaro Horiguchi

Version bumped to 1.3

Changed version to 1.3. Only SPEC files for 9.6 and later are fixed to
generate 1.3 package since the last fixed bug doesn't affect the
eralier versions.

9d7ea07 2019-01-22 18:20:33 Kyotaro Horiguchi

Fix boolean setter declaration

BOOL_SETTER ignores given name and always sets value to the member
"parallel_aware". When inner_uniue comes after parallel_aware, the
former overrides the latter and the latter doesn't get the right
value. As the result the following JSON plan is wrongly converted as
"Parallel Join".

select pg_store_plans_textplan('{"Plans":[{"Node Type":"Join","Parallel Aware":false,"Inner Unique":true}]}');

Currently only "Inner Unique" hits this.

5bdf0d7 2019-01-22 18:20:33 Kyotaro Horiguchi

Fix misspelling of pg_store_plans

In many places in the files pg_store_plans is misspelled as
pg_store_plan. Fix all of them.

007f4dd 2019-01-22 18:20:12 Kyotaro Horiguchi

Fix a typo of a message.

Fix a long-standing typo in an error message.

acab938 2019-01-22 17:45:08 Kyotaro Horiguchi

Follow a change in core.

Parameter of scanner_init has changed in core. Follow it.

816c22a 2019-01-08 13:31:39 Kyotaro Horiguchi

Add the LICENSE file and update copyright notice of all files

The LICENSE file is added to explicitly declare copyright notice of
this software. Updated copyright notice on each files along with.

02aab46 2018-06-13 16:50:01 Kyotaro Horiguchi

Support PG11

Support 64-bit queryid widen as of PG11.

f6915f3 2018-06-13 11:13:36 Kyotaro Horiguchi

Ignore trailing semicolon in hashing a query

Since PG10 pg_stat_statements doesn't store trailing semicolon in the
column "query". Normalization is basically useless in the version but
still usefull to match utility commands so follow the behavior change.

e09bbf2 1.2 2017-10-10 14:00:58 Kyotaro Horiguchi

Bump up version to 1.2.

Supports PostgreSQL 10.

894c41d 2017-09-14 15:16:35 Kyotaro Horiguchi

Add test for storing plans

There was no regtest for actual storing behavior. This commit add
that.

9bf0621 2017-09-14 15:16:35 Kyotaro Horiguchi

Modify the script to generate conversion test file

The script contained a query setting a multievent trigger using
transition tables. Split it into two triggers since such operation has
been inhibited.

c4a763b 2017-06-06 17:35:02 Kyotaro Horiguchi

Replace test files

Update test files so that all supported field names are tested.

0ae85ba 2017-06-06 17:35:02 Kyotaro Horiguchi

Add support for new node types

Pg10 has some new nodes. This commit add support for them.

83fc06a 2017-06-06 17:35:02 Kyotaro Horiguchi

Support PostgreSQL 10

Followed the change of API of some executor functions.

b81a398 2017-06-06 17:34:58 Kyotaro Horiguchi

Avoid duplicate warning on nonstandard escaping of strings

pg_store_plans emits duplicate warning with core parser for each
nonstandard string escape in expressions of a query. This commit stops
that.

2c96785 2017-06-06 16:45:09 Kyotaro Horiguchi

Fix wrong indentaion of short json plan

pgsp_json_shorten insertes unnecessary line breaks for keys of
grouping sets. This commit fixes it.

2bcb375 2017-06-06 16:44:32 Kyotaro Horiguchi

Fix a crash bug caused by unkown aggregation type.

Unknown aggregation type caused a crash. This happens only on
development but should be treated as the same as other similar cases.

0fd8fed 2016-09-05 15:35:40 Kyotaro Horiguchi

Print unknown properties in text representation

Foreign data wrappers may put explain properties unknown to the core,
such as "Remote SQL". This patch prints such properties in text
explains.

eb7ec24 2016-09-05 15:35:36 Kyotaro Horiguchi

Support parallel query

Support Gather node and related properties.

f66f004 2016-09-02 13:44:14 Kyotaro Horiguchi

Edit copyright notice

Edit year range of copyright notices.

bf856cc 2016-08-30 18:35:44 Kyotaro Horiguchi

Add RPM SPEC file for 9.6

To build a RPM file, do the following thing.

(Edit $PATH to point right pg_config)
$ make USE_PGXS=1 rpm96

6361a38 2016-08-30 18:07:50 Kyotaro Horiguchi

Support PostgreSQL 9.6

Use user defined lwlock tranche from 9.6 instead of the old way of 9.5
and before. Follow the change of the third parameter of ExecutorRun.

206c2d2 1.1 2016-08-26 17:03:41 Kyotaro Horiguchi

Prepare RPM build environmnet for Version 1.1

Stored data is backward compatible with 1.0.

Fixed "Original Hash Backets", IO Timings, Sort Keys in text plan
representation.

Fixed text plan representation of "ON CONFLICT", "GROUPING SETS",
"TABLESAMPLE" and multi-targetted ModifyTables, which just were not
shown or looked broken.

e65a674 2016-08-26 16:16:54 Kyotaro Horiguchi

Replace test scripts

Since some features added, the scripts and result files are repalced
with ones according to the current behavior.

c66e1a7 2016-08-26 16:10:10 Kyotaro Horiguchi

Add support for TableSample in text representaion.

Text representaion of table sample properties to be shown properly
with this fix.

Sample Scan (cost=0.00..2768.00 rows=100000 width=4)
+ Sampling: system ('10'::real) REPEATABLE ('0'::double precision)

7337a20 2016-08-26 16:10:10 Kyotaro Horiguchi

Allow handled properties not to have a short name

Shorten a json representaion allows the properties that the parser
doesn't knonw to be left unshortened. This is applicable to other
properties that the parser knows *but* don't shorten
intentionally. This is convenient some properties to be handled but
rarely seen.

af19787 2016-08-26 16:10:09 Kyotaro Horiguchi

Support ORDER BY and GROUPING SETS in text representation.

Text plan representaion omitted these items. This patch make them
properly shown.
Addition to that, GroupKeys (ON CONFLICT) introduced another way of
indentation of brackets. Make the bracket indentaion code behave
differently for the case.

Show on old repository browser