mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
Add indent target to makefiel
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -59,3 +59,6 @@ dkms.conf
|
||||
## .vscode
|
||||
.vscode/
|
||||
.vscode/*
|
||||
|
||||
# tools files
|
||||
typedefs-full.list
|
||||
|
||||
9
Makefile
9
Makefile
@@ -30,3 +30,12 @@ top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global
|
||||
include $(top_srcdir)/contrib/contrib-global.mk
|
||||
endif
|
||||
|
||||
|
||||
update-typedefs:
|
||||
wget -q -O - "https://buildfarm.postgresql.org/cgi-bin/typedefs.pl?branch=REL_16_STABLE" | cat - typedefs.list | sort | uniq > typedefs-full.list
|
||||
|
||||
indent:
|
||||
pgindent --typedefs=typedefs-full.list .
|
||||
|
||||
.PHONY: update-typedefs indent
|
||||
22
typedefs.list
Normal file
22
typedefs.list
Normal file
@@ -0,0 +1,22 @@
|
||||
AGG_KEY
|
||||
Blocks
|
||||
CallTime
|
||||
Calls
|
||||
Counters
|
||||
ErrorInfo
|
||||
HistogramTimingType
|
||||
JitInfo
|
||||
JumbleState
|
||||
LocationLen
|
||||
PGSMTrackLevel
|
||||
PlanInfo
|
||||
QueryInfo
|
||||
SysInfo
|
||||
WalUsage
|
||||
Wal_Usage
|
||||
pgsmEntry
|
||||
pgsmHashKey
|
||||
pgsmLocalState
|
||||
pgsmSharedState
|
||||
pgsmStoreKind
|
||||
pgsmVersion
|
||||
Reference in New Issue
Block a user