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
pull/81/head
Andres Freund 3 years ago
parent 1db4e5a4ee
commit fbfe6910ec
  1. 1
      src/backend/postmaster/Makefile
  2. 1
      src/backend/utils/activity/Makefile
  3. 2
      src/backend/utils/activity/pgstat.c

@ -21,7 +21,6 @@ OBJS = \
fork_process.o \
interrupt.o \
pgarch.o \
pgstat.o \
postmaster.o \
shell_archive.o \
startup.o \

@ -16,6 +16,7 @@ include $(top_builddir)/src/Makefile.global
OBJS = \
backend_progress.o \
backend_status.o \
pgstat.o \
pgstat_archiver.o \
pgstat_bgwriter.o \
pgstat_checkpointer.o \

@ -84,7 +84,7 @@
* Copyright (c) 2001-2022, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/backend/postmaster/pgstat.c
* src/backend/utils/activity/pgstat.c
* ----------
*/
#include "postgres.h"
Loading…
Cancel
Save