Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite75ed95

Browse files
committed
Add pg_execplan extension
1 parent17df98e commite75ed95

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+
CREATEOR REPLACE FUNCTION @extschema@.pg_store_query_plan(queryTEXT)
4+
RETURNS VOIDAS'pg_execplan'
5+
LANGUAGE C;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp