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

Commit65cc9d9

Browse files
committed
Add pg_execplan extension
1 parenta61ae07 commit65cc9d9

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