diff options
author | Tom Lane | 2008-05-15 00:17:41 +0000 |
---|---|---|
committer | Tom Lane | 2008-05-15 00:17:41 +0000 |
commit | 1317f2e4c915547e768287ecad8b8bfb3dc1be20 (patch) | |
tree | 3c62a7c2a3814efcb4078ea3f9c3d7bf672ebe32 /src/backend/tcop/postgres.c | |
parent | 9c43309a8955ae7cd71ae00418428a23c095f789 (diff) |
Add support for tracking call counts and elapsed runtime for user-defined
functions.
Note that because this patch changes FmgrInfo, any external C functions
you might be testing with 8.4 will need to be recompiled.
Patch by Martin Pihlak, some editorialization by me (principally, removing
tracking of getrusage() numbers)
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index a3e3f1693b..c2809eaf84 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -3502,7 +3502,7 @@ PostgresMain(int argc, char *argv[], const char *username) } else { - pgstat_report_tabstat(false); + pgstat_report_stat(false); set_ps_display("idle", false); pgstat_report_activity("<IDLE>"); |