File tree 4 files changed +31
-0
lines changed
4 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ OBJS = pg_wait_sampling.o collector.o
6
6
EXTENSION = pg_wait_sampling
7
7
DATA = pg_wait_sampling--1.0.sql
8
8
9
+ REGRESS = load
10
+
11
+ EXTRA_REGRESS_OPTS=--temp-config =$(top_srcdir ) /$(subdir ) /conf.add
12
+
9
13
ifdef USE_PGXS
10
14
PG_CONFIG = pg_config
11
15
PGXS := $(shell $(PG_CONFIG ) --pgxs)
Original file line number Diff line number Diff line change
1
+ shared_preload_libraries = 'pg_wait_sampling'
Original file line number Diff line number Diff line change
1
+ CREATE EXTENSION pg_wait_sampling;
2
+ \d pg_wait_sampling_current
3
+ View "public.pg_wait_sampling_current"
4
+ Column | Type | Modifiers
5
+ ------------+---------+-----------
6
+ pid | integer |
7
+ event_type | text |
8
+ event | text |
9
+
10
+ \d pg_wait_sampling_history
11
+ View "public.pg_wait_sampling_history"
12
+ Column | Type | Modifiers
13
+ ------------+--------------------------+-----------
14
+ pid | integer |
15
+ ts | timestamp with time zone |
16
+ event_type | text |
17
+ event | text |
18
+
19
+ DROP EXTENSION pg_wait_sampling;
Original file line number Diff line number Diff line change
1
+ CREATE EXTENSION pg_wait_sampling;
2
+
3
+ \d pg_wait_sampling_current
4
+
5
+ \d pg_wait_sampling_history
6
+
7
+ DROP EXTENSION pg_wait_sampling;
You can’t perform that action at this time.
0 commit comments