summaryrefslogtreecommitdiff
path: root/src/include/replication
diff options
context:
space:
mode:
authorItagaki Takahiro2011-01-07 11:35:38 +0000
committerItagaki Takahiro2011-01-07 11:35:38 +0000
commita755ea33ae3d772977fa083a8614bb9d4cc36e5a (patch)
treebd6c8e1e86a2b4d60ecf41dc6465ac4ddaa2dd56 /src/include/replication
parent46d28820b6d213bf26b24ecd289a1c466ecf1956 (diff)
New system view pg_stat_replication displays activity of wal sender processes.
Itagaki Takahiro and Simon Riggs.
Diffstat (limited to 'src/include/replication')
-rw-r--r--src/include/replication/walsender.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/replication/walsender.h b/src/include/replication/walsender.h
index 6f543ae3f4..d6767b9dcf 100644
--- a/src/include/replication/walsender.h
+++ b/src/include/replication/walsender.h
@@ -54,4 +54,6 @@ extern Size WalSndShmemSize(void);
extern void WalSndShmemInit(void);
extern void WalSndWakeup(void);
+extern Datum pg_stat_get_wal_senders(PG_FUNCTION_ARGS);
+
#endif /* _WALSENDER_H */