Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8dc1d6b

Browse files
committed
pg_cgroups
1 parent 425a973 commit 8dc1d6b

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

contrib/pg_cgroups/Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# contrib/pg_cgroups/Makefile
2+
3+
MODULE_big = pg_cgroups
4+
OBJS = pg_cgroups.o $(WIN32RES)
5+
6+
EXTENSION = pg_cgroups
7+
DATA = pg_cgroups--1.0
8+
PGFILEDESC = "pg_cgroups - limit resource usage"
9+
10+
ifdef USE_PGXS
11+
PG_CONFIG = pg_config
12+
PGXS := $(shell $(PG_CONFIG) --pgxs)
13+
include $(PGXS)
14+
else
15+
subdir = contrib/pg_cgroups
16+
top_builddir = ../..
17+
include $(top_builddir)/src/Makefile.global
18+
include $(top_srcdir)/contrib/contrib-global.mk
19+
endif

contrib/pg_cgroups/pg_cgroups.c

Whitespace-only changes.

contrib/pg_cgroups/pg_cgroups.control

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# pg_cgroups extension
2+
comment = 'limit PostgreSQL resource usage'
3+
default_version = '1.0'
4+
module_pathname = '$libdir/pg_cgroups'
5+
relocatable = true

0 commit comments

Comments
 (0)