[Pgbigm-hackers] pg_gin_pending_stats and non-GIN index

Zurück zum Archiv-Index

Fujii Masao masao****@gmail*****
2015年 8月 14日 (金) 04:10:11 JST


Hi,

When non-GIN index is specified in the argument of pg_gin_pending_stats(),
it returns completely wrong and invalid results. This is a bug. I'd like to
change pg_gin_pending_stats() so that it checks whether the given index is
a GIN index or not. Also probably it should check whether the given index
is another session's temporary one or not. Thought?

BTW, the very similar contrib function pgstatginindex() has these checks.

Patch attached.

Regards,

-- 
Fujii Masao
-------------- next part --------------
$B%F%-%9%H7A<00J30$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
$B%U%!%$%kL>(B: pg_gin_pending_stats_bugfix.patch
$B7?(B:         application/octet-stream
$B%5%$%:(B:     2809 $B%P%$%H(B
$B @ bL@(B:       $BL5$7(B
Download 



Pgbigm-hackers メーリングリストの案内
Zurück zum Archiv-Index