git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 1267d98) | patch
Split wait event related code from pgstat.[ch] into wait_event.[ch].
Sat, 3 Apr 2021 02:45:24 +0000 (19:45 -0700)
Sat, 3 Apr 2021 03:02:26 +0000 (20:02 -0700)
commit a333476b925134f6185037eaff3424c07a9f466f
Split wait event related code from pgstat.[ch] into wait_event.[ch].

The wait event related code is independent from the rest of the
pgstat.[ch] code, of nontrivial size and changes on a regular
basis. Put it into its own set of files.

As there doesn't seem to be a good pre-existing directory for code
like this, add src/backend/utils/activity.

Reviewed-By: Robert Haas <robertmhaas@gmail.com>
Discussion: https://postgr.es/m/20210316195440.twxmlov24rr2nxrg@alap3.anarazel.de
src/backend/postmaster/pgstat.c diff | blob | blame | history
src/backend/utils/Makefile diff | blob | blame | history
src/backend/utils/activity/Makefile [new file with mode: 0644] blob
src/backend/utils/activity/wait_event.c [new file with mode: 0644] blob
src/include/pgstat.h diff | blob | blame | history
src/include/utils/wait_event.h [new file with mode: 0644] blob
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /