Skip to content

Commit 65cc9d9

Browse files
committed
Add pg_execplan extension
1 parent a61ae07 commit 65cc9d9

File tree

10 files changed

+12
-4092
lines changed

10 files changed

+12
-4092
lines changed

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

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)
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