Skip to content

Commit fbfe691

Browse files
committed
pgstat: move pgstat.c to utils/activity.
Now that pgstat is not related to postmaster anymore, src/backend/postmaster is not a well fitting directory. Author: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de
1 parent 1db4e5a commit fbfe691

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/backend/postmaster/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ OBJS = \
2121
fork_process.o \
2222
interrupt.o \
2323
pgarch.o \
24-
pgstat.o \
2524
postmaster.o \
2625
shell_archive.o \
2726
startup.o \

src/backend/utils/activity/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ include $(top_builddir)/src/Makefile.global
1616
OBJS = \
1717
backend_progress.o \
1818
backend_status.o \
19+
pgstat.o \
1920
pgstat_archiver.o \
2021
pgstat_bgwriter.o \
2122
pgstat_checkpointer.o \

src/backend/postmaster/pgstat.c renamed to src/backend/utils/activity/pgstat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
* Copyright (c) 2001-2022, PostgreSQL Global Development Group
8585
*
8686
* IDENTIFICATION
87-
* src/backend/postmaster/pgstat.c
87+
* src/backend/utils/activity/pgstat.c
8888
* ----------
8989
*/
9090
#include "postgres.h"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy