Add indent target to makefiel
parent
7e11cf6154
commit
f4d4e5a221
|
@ -59,3 +59,6 @@ dkms.conf
|
||||||
## .vscode
|
## .vscode
|
||||||
.vscode/
|
.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_builddir)/src/Makefile.global
|
||||||
include $(top_srcdir)/contrib/contrib-global.mk
|
include $(top_srcdir)/contrib/contrib-global.mk
|
||||||
endif
|
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
|
|
@ -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
|
Loading…
Reference in New Issue