Content-Length: 349051 | pFad | http://github.com/postgrespro/postgres_cluster/commit/e75ed95edead8c8f42723fb8789a0ed6a5ac975f

EB Add pg_execplan extension · postgrespro/postgres_cluster@e75ed95 · GitHub
Skip to content

Commit e75ed95

Browse files
committed
Add pg_execplan extension
1 parent 17df98e commit e75ed95

File tree

11 files changed

+13
-4092
lines changed

11 files changed

+13
-4092
lines changed

contrib/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ SUBDIRS = \
3838
pgcrypto \
3939
pgrowlocks \
4040
pgstattuple \
41+
pg_execplan \
4142
pg_visibility \
4243
postgres_fdw \
4344
seg \

contrib/pg_execplan/Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# contrib/repeater/Makefile
1+
# contrib/pg_execplan/Makefile
22

3-
MODULE_big = repeater
4-
EXTENSION = repeater
3+
MODULE_big = pg_execplan
4+
EXTENSION = pg_execplan
55
EXTVERSION = 0.1
6-
PGFILEDESC = "Repeater"
7-
MODULES = repeater
8-
OBJS = repeater.o $(WIN32RES)
6+
PGFILEDESC = "pg_execplan"
7+
MODULES = pg_execplan
8+
OBJS = pg_execplan.o $(WIN32RES)
99

1010
fdw_srcdir = $(top_srcdir)/contrib/postgres_fdw/
1111

@@ -21,7 +21,7 @@ include $(PGXS)
2121
else
2222
EXTRA_INSTALL = contrib/postgres_fdw
2323
SHLIB_PREREQS = submake-libpq
24-
subdir = contrib/repeater
24+
subdir = contrib/pg_execplan
2525
top_builddir = ../..
2626
include $(top_builddir)/src/Makefile.global
2727
#include $(top_builddir)/contrib/postgres_fdw/Makefile

contrib/pg_execplan/init.sql

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
\echo Use "CREATE EXTENSION repeater" to load this file. \quit
1+
\echo Use "CREATE EXTENSION pg_execplan" to load this file. \quit
2+
3+
CREATE OR REPLACE FUNCTION @extschema@.pg_store_query_plan(query TEXT)
4+
RETURNS VOID AS 'pg_execplan'
5+
LANGUAGE C;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/e75ed95edead8c8f42723fb8789a0ed6a5ac975f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy