Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8749b61

Browse files
committed
Add "pgindent" rule for make to run pgindent
1 parentdbd564d commit8749b61

File tree

3 files changed

+247
-1
lines changed

3 files changed

+247
-1
lines changed

‎Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ include Makefile.common.mk
33

44
RELEASE_SQL =$(EXTENSION)--$(PGSPHERE_VERSION).sql
55
USE_PGXS = 1
6-
USE_HEALPIX =? 1
6+
USE_HEALPIX ?= 1
7+
PGINDENT ?= pgindent
8+
PGBSDINDENT ?= pg_bsd_indent
79

810
# the base dir name may be changed depending on git clone command
911
SRC_DIR =$(shell basename$(shell pwd))
@@ -279,3 +281,10 @@ endif
279281
dist : clean sparse.c sscan.c
280282
find. -name'*~' -type f -exec rm {}\;
281283
cd ..&& tar --transform s/$(SRC_DIR)/pgsphere-$(PGSPHERE_VERSION)/ --exclude CVS --exclude .git -czf pgsphere-$(PGSPHERE_VERSION).tar.gz$(SRC_DIR)&&cd -
284+
285+
pgindent:
286+
$(PGINDENT)\
287+
--typedefs=pgindent-typedefs.list\
288+
--excludes=pgindent-excludes.list\
289+
--indent=${PGBSDINDENT}\
290+
src

‎pgindent-excludes.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pgs_process_moc.h

‎pgindent-typedefs.list

Lines changed: 236 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,236 @@
1+
align_val_t
2+
allocator_type
3+
__alloc_rebind
4+
ArrayType
5+
AttrDefault
6+
AttrNumber
7+
_Base_ptr
8+
BlockNumber
9+
Box3D
10+
BpChar
11+
bpoint
12+
BrinDesc
13+
BrinOpcInfo
14+
brin_serialize_callback_type
15+
BrinValues
16+
__builtin_va_list
17+
_Char_alloc_type
18+
char_type
19+
CommonEntry
20+
__compar_fn_t
21+
ConsiderSplitContext
22+
_Const_Base_ptr
23+
__const_iterator
24+
const_iterator
25+
_Const_Link_type
26+
const_pointer
27+
ConstrCheck
28+
const_reference
29+
const_reverse_iterator
30+
const_void_pointer
31+
coord_t
32+
Datum
33+
difference_type
34+
_DistanceType
35+
div_t
36+
DomainConstraintCache
37+
double_t
38+
__dso_handle
39+
__enable_if_t
40+
false>
41+
false_type
42+
__FILE
43+
FILE
44+
first_type
45+
flex_int16_t
46+
flex_uint8_t
47+
float4
48+
float8
49+
float_t
50+
FmgrInfo
51+
fmNodePtr
52+
FormData_pg_attribute
53+
__fpos_t
54+
fpos_t
55+
FunctionCallInfo
56+
GISTENTRY
57+
GistEntryVector
58+
GISTPageOpaque
59+
GISTPageOpaqueData
60+
GIST_SPLITVEC
61+
GiSTSPointKey
62+
__gnuc_va_list
63+
Healpix_Base2
64+
hpint64
65+
insert_return_type
66+
int16
67+
__int16_t
68+
int16_t
69+
int32
70+
__int32_t
71+
int32_t
72+
int64
73+
__int64_t
74+
int64_t
75+
int8
76+
__int8_t
77+
int8_t
78+
int_fast16_t
79+
int_fast32_t
80+
int_fast64_t
81+
int_fast8_t
82+
__int_least16_t
83+
int_least16_t
84+
__int_least32_t
85+
int_least32_t
86+
__int_least64_t
87+
int_least64_t
88+
__int_least8_t
89+
int_least8_t
90+
__intmax_t
91+
intmax_t
92+
intptr_t
93+
int_type
94+
_IO_lock_t
95+
iostate
96+
ItemIdData
97+
iterator
98+
iterator_category
99+
iterator_type
100+
key_compare
101+
key_type
102+
layout_vec
103+
ldiv_t
104+
_Link_type
105+
lldiv_t
106+
LocationIndex
107+
__make_not_void
108+
map_const_iter
109+
map_iterator
110+
mapped_type
111+
map_rev_iter
112+
max_align_t
113+
__mbstate_t
114+
mbstate_t
115+
MemoryContext
116+
moc_interval
117+
moc_map
118+
moc_map_entry
119+
moc_out_data
120+
moc_tree_entry
121+
NameData
122+
_Node_allocator
123+
NodeTag
124+
node_type
125+
NullableDatum
126+
nullptr_t
127+
__off64_t
128+
OffsetNumber
129+
__off_t
130+
Oid
131+
ostream
132+
__ostream_type
133+
other
134+
output_map
135+
Page
136+
PageGistNSN
137+
PageHeader
138+
PageHeaderData
139+
PageXLogRecPtr
140+
Pg_finfo_record
141+
PGFunction
142+
Pg_magic_struct
143+
pgs_error_handler
144+
phasevec
145+
Point
146+
Point3D
147+
__pointer
148+
pointer
149+
Pointer
150+
ptrdiff_t
151+
__ptr_rebind
152+
rebind
153+
rebind_alloc
154+
reference
155+
Relation
156+
_Rep_type
157+
reverse_iterator
158+
rintv_iter
159+
rnode_iter
160+
rtype
161+
SBOX
162+
SCIRCLE
163+
second_type
164+
_Self
165+
SELLIPSE
166+
SEuler
167+
Size
168+
size_t
169+
size_type
170+
SLine
171+
Smoc
172+
SPATH
173+
SplitInterval
174+
SPoint
175+
SPOLY
176+
StrategyNumber
177+
streamsize
178+
string
179+
__sv_type
180+
t_ang
181+
tdiff
182+
text
183+
_Tp_alloc_type
184+
TransactionId
185+
true_type
186+
tsize
187+
TupleConstr
188+
TupleDesc
189+
__type
190+
type
191+
TypeCacheEntry
192+
uchar
193+
uint16
194+
__uint16_t
195+
uint16_t
196+
uint32
197+
__uint32_t
198+
uint32_t
199+
uint64
200+
__uint64_t
201+
uint64_t
202+
uint8
203+
__uint8_t
204+
uint8_t
205+
uint_fast16_t
206+
uint_fast32_t
207+
uint_fast64_t
208+
uint_fast8_t
209+
__uint_least16_t
210+
uint_least16_t
211+
__uint_least32_t
212+
uint_least32_t
213+
__uint_least64_t
214+
uint_least64_t
215+
__uint_least8_t
216+
uint_least8_t
217+
__uintmax_t
218+
uintmax_t
219+
uintptr_t
220+
va_list
221+
value_type
222+
varattrib_4b
223+
vec3
224+
Vector3D
225+
wctrans_t
226+
wctype_t
227+
wint_t
228+
YY_BUFFER_STATE
229+
YY_CHAR
230+
yy_size_t
231+
yy_state_type
232+
YYSTYPE
233+
yytype_int16
234+
yytype_int8
235+
yytype_uint8
236+
CPoint

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp