Skip to content

Commit 7466eea

Browse files
committed
Add contrib/pg_stat_statements for server-wide tracking of statement execution
statistics. Takahiro Itagaki
1 parent 1efd5ff commit 7466eea

File tree

11 files changed

+1239
-7
lines changed

11 files changed

+1239
-7
lines changed

contrib/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/contrib/Makefile,v 1.85 2008/11/19 02:59:28 tgl Exp $
1+
# $PostgreSQL: pgsql/contrib/Makefile,v 1.86 2009/01/04 22:19:59 tgl Exp $
22

33
subdir = contrib
44
top_builddir = ..
@@ -27,6 +27,7 @@ WANTED_DIRS = \
2727
pg_buffercache \
2828
pg_freespacemap \
2929
pg_standby \
30+
pg_stat_statements \
3031
pg_trgm \
3132
pgbench \
3233
pgcrypto \

contrib/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ pg_standby -
112112
Sample archive_command for warm standby operation
113113
by Simon Riggs <simon@2ndquadrant.com>
114114

115+
pg_stat_statements -
116+
Track statement execution times across a whole database cluster
117+
by Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
118+
115119
pg_trgm -
116120
Functions for determining the similarity of text based on trigram
117121
matching.

contrib/pg_stat_statements/Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# $PostgreSQL: pgsql/contrib/pg_stat_statements/Makefile,v 1.1 2009/01/04 22:19:59 tgl Exp $
2+
3+
MODULE_big = pg_stat_statements
4+
DATA_built = pg_stat_statements.sql
5+
DATA = uninstall_pg_stat_statements.sql
6+
OBJS = pg_stat_statements.o
7+
8+
ifdef USE_PGXS
9+
PG_CONFIG = pg_config
10+
PGXS := $(shell $(PG_CONFIG) --pgxs)
11+
include $(PGXS)
12+
else
13+
subdir = contrib/pg_stat_statements
14+
top_builddir = ../..
15+
include $(top_builddir)/src/Makefile.global
16+
include $(top_srcdir)/contrib/contrib-global.mk
17+
endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy