OSDN Git Service

pgdbmsstats/pg_dbms_stats.git
9 years agoEdit RPM spacfiles and ChangeLogs REL1_3_3
Kyotaro Horiguchi [Mon, 25 Aug 2014 08:20:28 +0000 (17:20 +0900)]
Edit RPM spacfiles and ChangeLogs

9 years agoFix a bug which potentially returns wrong statsitc tuple from internal
Kyotaro Horiguchi [Mon, 25 Aug 2014 06:27:19 +0000 (15:27 +0900)]
Fix a bug which potentially returns wrong statsitc tuple from internal
cache.

Altough Relation statistics cache has the key of relation id and it is
expected to hash and match it as oid, the cache control data was
created withOUT HASH_FUNCTION flag for hash_create(). This causes a
false match between oids having a intermediate 0x00 byte and identical
lower bytes (as for little endian). Returning the wrong statistics
cache can result in server crash, or at least getting unexpected
plans.

9 years agoRaise granularity of locks.
Kyotaro Horiguchi [Thu, 7 Aug 2014 12:41:50 +0000 (21:41 +0900)]
Raise granularity of locks.

Almost all sql functions of pg_dbms_stats takes "share update
exclusive" locks on internal tables before they does their work. As
the result, it serializes dbms_stats operations even if they're on
different tables. This commit replaces such giant locks with the more
narrowed locks so that operations on different tables basically can
run in parallel. As the exchange for the concurrency, multiple (first
time) statistics lock operations on the same table at the same time
may result in failure of either of them. But it does no matter under
usual usage.

9 years agoChange inappropreate variable name.
Kyotaro Horiguchi [Thu, 7 Aug 2014 10:43:13 +0000 (19:43 +0900)]
Change inappropreate variable name.

9 years agoCorrect wordings in comments.
Kyotaro Horiguchi [Thu, 7 Aug 2014 10:32:23 +0000 (19:32 +0900)]
Correct wordings in comments.

9 years agoRemove unnecessary 'OR REPLACE' from sql function definitions.
Kyotaro Horiguchi [Thu, 7 Aug 2014 10:22:40 +0000 (19:22 +0900)]
Remove unnecessary 'OR REPLACE' from sql function definitions.

9 years agoStablize regtest.
Kyotaro Horiguchi [Thu, 7 Aug 2014 07:53:31 +0000 (16:53 +0900)]
Stablize regtest.

Previous regression tests are unstable for repetitive execution.

These instability comes from mainly from unwanted auto vacuums and
locks unrelated to the test. So fix these factors of the instability
and tidied up the code.

9 years agoRewrite error messages. Fix some typos in comments.
Kyotaro Horiguchi [Thu, 7 Aug 2014 03:11:39 +0000 (12:11 +0900)]
Rewrite error messages. Fix some typos in comments.

9 years agoRearrange files for 1.3.3
Kyotaro Horiguchi [Thu, 7 Aug 2014 00:48:15 +0000 (09:48 +0900)]
Rearrange files for 1.3.3

9 years agoRearrange files REL1_3_2
Kyotaro Horiguchi [Fri, 6 Jun 2014 08:41:22 +0000 (17:41 +0900)]
Rearrange files

9 years agoAdd instruction for installcheck.
Kyotaro Horiguchi [Fri, 6 Jun 2014 07:50:41 +0000 (16:50 +0900)]
Add instruction for installcheck.

9 years agoAdd gtags files to .gitignore.
Kyotaro Horiguchi [Fri, 6 Jun 2014 07:49:03 +0000 (16:49 +0900)]
Add gtags files to .gitignore.

9 years agoAdd ChangeLog
Kyotaro Horiguchi [Fri, 6 Jun 2014 07:07:22 +0000 (16:07 +0900)]
Add ChangeLog

9 years agoRevise COPYRIGHT file in modification year.
Kyotaro Horiguchi [Fri, 6 Jun 2014 06:57:15 +0000 (15:57 +0900)]
Revise COPYRIGHT file in modification year.

9 years agoStabilize regtests aganst testing environment.
Kyotaro Horiguchi [Mon, 9 Jun 2014 06:12:53 +0000 (15:12 +0900)]
Stabilize regtests aganst testing environment.

9 years agoAdd USE_PGXS autoconfig
Kyotaro Horiguchi [Mon, 9 Jun 2014 06:11:44 +0000 (15:11 +0900)]
Add USE_PGXS autoconfig

9 years agoChange configuration for source tarballs and RPMs
Kyotaro Horiguchi [Mon, 9 Jun 2014 06:10:24 +0000 (15:10 +0900)]
Change configuration for source tarballs and RPMs

9 years agoChange the name of export script samples
Kyotaro Horiguchi [Mon, 9 Jun 2014 05:51:06 +0000 (14:51 +0900)]
Change the name of export script samples

9 years agoEnable make check. Fix some compiler warnings. Temporarily add 9.4 support.
Kyotaro Horiguchi [Thu, 5 Jun 2014 08:05:07 +0000 (17:05 +0900)]
Enable make check. Fix some compiler warnings. Temporarily add 9.4 support.

9 years agoChange assertion according to change of behavior of the function
Kyotaro Horiguchi [Wed, 4 Jun 2014 04:03:03 +0000 (13:03 +0900)]
Change assertion according to change of behavior of the function

9 years agoFix wrong error message
Kyotaro Horiguchi [Wed, 4 Jun 2014 03:44:52 +0000 (12:44 +0900)]
Fix wrong error message

9 years agoBug fix. vardata->statsTuple should be overwritten even if the result is NULL.
Kyotaro Horiguchi [Wed, 4 Jun 2014 03:43:36 +0000 (12:43 +0900)]
Bug fix. vardata->statsTuple should be overwritten even if the result is NULL.

9 years agoAdd negative cache.
Kyotaro Horiguchi [Wed, 4 Jun 2014 03:42:07 +0000 (12:42 +0900)]
Add negative cache.

9 years agoPrepare for 1.3.2. Fixing for ALTER EXTENSION
Kyotaro Horiguchi [Wed, 4 Jun 2014 03:37:44 +0000 (12:37 +0900)]
Prepare for 1.3.2. Fixing for ALTER EXTENSION

9 years agoMakefile cleans up files generated during make
Kyotaro Horiguchi [Wed, 4 Jun 2014 03:41:44 +0000 (12:41 +0900)]
Makefile cleans up files generated during make

9 years agoFix regtests
Kyotaro Horiguchi [Tue, 3 Jun 2014 01:16:28 +0000 (10:16 +0900)]
Fix regtests

9 years agoAdd COPYRIGHT file
Kyotaro Horiguchi [Tue, 3 Jun 2014 00:41:34 +0000 (09:41 +0900)]
Add COPYRIGHT file

9 years ago1.3.1 REL1_3_1
Kyotaro Horiguchi [Tue, 3 Jun 2014 00:37:53 +0000 (09:37 +0900)]
1.3.1

11 years ago1.3.0 REL1_3_0
naoki_kishi_b1 [Thu, 14 Feb 2013 04:21:19 +0000 (13:21 +0900)]
1.3.0