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

Commitfcff1cd

Browse files
committed
Another pgindent run. Sorry folks.
1 parent4eadfe8 commitfcff1cd

File tree

109 files changed

+1063
-759
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+1063
-759
lines changed

‎contrib/int8/int8.c

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
#endif
2525

2626
#ifndefHAVE_64BIT_INTS
27-
typedefchar[8]int64;
27+
typedefchar[8]
28+
int64;
2829

2930
#elif defined(__alpha)
3031
typedeflongintint64;
@@ -43,38 +44,38 @@ typedef long int int64;
4344
#endif
4445

4546
int64*int8in(char*str);
46-
char*int8out(int64*val);
47-
48-
boolint8eq(int64*val1,int64*val2);
49-
boolint8ne(int64*val1,int64*val2);
50-
boolint8lt(int64*val1,int64*val2);
51-
boolint8gt(int64*val1,int64*val2);
52-
boolint8le(int64*val1,int64*val2);
53-
boolint8ge(int64*val1,int64*val2);
54-
55-
boolint84eq(int64*val1,int32val2);
56-
boolint84ne(int64*val1,int32val2);
57-
boolint84lt(int64*val1,int32val2);
58-
boolint84gt(int64*val1,int32val2);
59-
boolint84le(int64*val1,int32val2);
60-
boolint84ge(int64*val1,int32val2);
61-
62-
int64*int8um(int64*val);
63-
int64*int8pl(int64*val1,int64*val2);
64-
int64*int8mi(int64*val1,int64*val2);
65-
int64*int8mul(int64*val1,int64*val2);
66-
int64*int8div(int64*val1,int64*val2);
47+
char*int8out(int64*val);
48+
49+
boolint8eq(int64*val1,int64*val2);
50+
boolint8ne(int64*val1,int64*val2);
51+
boolint8lt(int64*val1,int64*val2);
52+
boolint8gt(int64*val1,int64*val2);
53+
boolint8le(int64*val1,int64*val2);
54+
boolint8ge(int64*val1,int64*val2);
55+
56+
boolint84eq(int64*val1,int32val2);
57+
boolint84ne(int64*val1,int32val2);
58+
boolint84lt(int64*val1,int32val2);
59+
boolint84gt(int64*val1,int32val2);
60+
boolint84le(int64*val1,int32val2);
61+
boolint84ge(int64*val1,int32val2);
62+
63+
int64*int8um(int64*val);
64+
int64*int8pl(int64*val1,int64*val2);
65+
int64*int8mi(int64*val1,int64*val2);
66+
int64*int8mul(int64*val1,int64*val2);
67+
int64*int8div(int64*val1,int64*val2);
6768

6869
int64*int48(int32val);
69-
int32int84(int64*val);
70+
int32int84(int64*val);
7071

7172
#ifFALSE
7273
int64*int28 (int16val);
73-
int16int82(int64*val);
74+
int16int82(int64*val);
7475

7576
#endif
7677

77-
float64i8tod(int64*val);
78+
float64i8tod(int64*val);
7879
int64*dtoi8(float64val);
7980

8081
/***********************************************************************
@@ -113,7 +114,7 @@ int8in(char *str)
113114
/* int8out()
114115
*/
115116
char*
116-
int8out(int64*val)
117+
int8out(int64*val)
117118
{
118119
char*result;
119120

@@ -148,37 +149,37 @@ int8out(int64 * val)
148149
* Is val1 relop val2?
149150
*/
150151
bool
151-
int8eq(int64*val1,int64*val2)
152+
int8eq(int64*val1,int64*val2)
152153
{
153154
return (*val1==*val2);
154155
}/* int8eq() */
155156

156157
bool
157-
int8ne(int64*val1,int64*val2)
158+
int8ne(int64*val1,int64*val2)
158159
{
159160
return (*val1!=*val2);
160161
}/* int8ne() */
161162

162163
bool
163-
int8lt(int64*val1,int64*val2)
164+
int8lt(int64*val1,int64*val2)
164165
{
165166
return (*val1<*val2);
166167
}/* int8lt() */
167168

168169
bool
169-
int8gt(int64*val1,int64*val2)
170+
int8gt(int64*val1,int64*val2)
170171
{
171172
return (*val1>*val2);
172173
}/* int8gt() */
173174

174175
bool
175-
int8le(int64*val1,int64*val2)
176+
int8le(int64*val1,int64*val2)
176177
{
177178
return (*val1 <=*val2);
178179
}/* int8le() */
179180

180181
bool
181-
int8ge(int64*val1,int64*val2)
182+
int8ge(int64*val1,int64*val2)
182183
{
183184
return (*val1 >=*val2);
184185
}/* int8ge() */
@@ -188,37 +189,37 @@ int8ge(int64 * val1, int64 * val2)
188189
* Is 64-bit val1 relop 32-bit val2?
189190
*/
190191
bool
191-
int84eq(int64*val1,int32val2)
192+
int84eq(int64*val1,int32val2)
192193
{
193194
return (*val1==val2);
194195
}/* int84eq() */
195196

196197
bool
197-
int84ne(int64*val1,int32val2)
198+
int84ne(int64*val1,int32val2)
198199
{
199200
return (*val1!=val2);
200201
}/* int84ne() */
201202

202203
bool
203-
int84lt(int64*val1,int32val2)
204+
int84lt(int64*val1,int32val2)
204205
{
205206
return (*val1<val2);
206207
}/* int84lt() */
207208

208209
bool
209-
int84gt(int64*val1,int32val2)
210+
int84gt(int64*val1,int32val2)
210211
{
211212
return (*val1>val2);
212213
}/* int84gt() */
213214

214215
bool
215-
int84le(int64*val1,int32val2)
216+
int84le(int64*val1,int32val2)
216217
{
217218
return (*val1 <=val2);
218219
}/* int84le() */
219220

220221
bool
221-
int84ge(int64*val1,int32val2)
222+
int84ge(int64*val1,int32val2)
222223
{
223224
return (*val1 >=val2);
224225
}/* int84ge() */
@@ -229,7 +230,7 @@ int84ge(int64 * val1, int32 val2)
229230
*---------------------------------------------------------*/
230231

231232
int64*
232-
int8um(int64*val)
233+
int8um(int64*val)
233234
{
234235
int64*result=palloc(sizeof(int64));
235236

@@ -242,7 +243,7 @@ int8um(int64 * val)
242243
}/* int8um() */
243244

244245
int64*
245-
int8pl(int64*val1,int64*val2)
246+
int8pl(int64*val1,int64*val2)
246247
{
247248
int64*result=palloc(sizeof(int64));
248249

@@ -255,7 +256,7 @@ int8pl(int64 * val1, int64 * val2)
255256
}/* int8pl() */
256257

257258
int64*
258-
int8mi(int64*val1,int64*val2)
259+
int8mi(int64*val1,int64*val2)
259260
{
260261
int64*result=palloc(sizeof(int64));
261262

@@ -268,7 +269,7 @@ int8mi(int64 * val1, int64 * val2)
268269
}/* int8mi() */
269270

270271
int64*
271-
int8mul(int64*val1,int64*val2)
272+
int8mul(int64*val1,int64*val2)
272273
{
273274
int64*result=palloc(sizeof(int64));
274275

@@ -281,7 +282,7 @@ int8mul(int64 * val1, int64 * val2)
281282
}/* int8mul() */
282283

283284
int64*
284-
int8div(int64*val1,int64*val2)
285+
int8div(int64*val1,int64*val2)
285286
{
286287
int64*result=palloc(sizeof(int64));
287288

@@ -309,7 +310,7 @@ int48(int32 val)
309310
}/* int48() */
310311

311312
int32
312-
int84(int64*val)
313+
int84(int64*val)
313314
{
314315
int32result;
315316

@@ -339,7 +340,7 @@ int28(int16 val)
339340
}/* int28() */
340341

341342
int16
342-
int82(int64*val)
343+
int82(int64*val)
343344
{
344345
int16result;
345346

@@ -354,7 +355,7 @@ int82(int64 * val)
354355
#endif
355356

356357
float64
357-
i8tod(int64*val)
358+
i8tod(int64*val)
358359
{
359360
float64result=palloc(sizeof(float64data));
360361

‎contrib/os2client/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* DEF_PGPORT is the TCP port number on which the Postmaster listens by
1212
* default. This can be overriden by command options, environment variables,
1313
* and the postconfig hook. (set by build script)
14-
*/
14+
*/
1515

1616
#defineDEF_PGPORT "5432"
1717

‎src/backend/access/common/printtup.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.46 1999/05/2516:06:39 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.47 1999/05/2522:40:47 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -25,9 +25,9 @@
2525
#include"libpq/pqformat.h"
2626
#include"utils/syscache.h"
2727

28-
staticvoidprinttup_setup(DestReceiver*self,TupleDesctypeinfo);
29-
staticvoidprinttup(HeapTupletuple,TupleDesctypeinfo,DestReceiver*self);
30-
staticvoidprinttup_cleanup(DestReceiver*self);
28+
staticvoidprinttup_setup(DestReceiver*self,TupleDesctypeinfo);
29+
staticvoidprinttup(HeapTupletuple,TupleDesctypeinfo,DestReceiver*self);
30+
staticvoidprinttup_cleanup(DestReceiver*self);
3131

3232
/* ----------------------------------------------------------------
3333
*printtup / debugtup support
@@ -76,15 +76,15 @@ typedef struct
7676
Oidtypoutput;/* Oid for the attribute's type output fn */
7777
Oidtypelem;/* typelem value to pass to the output fn */
7878
FmgrInfofinfo;/* Precomputed call info for typoutput */
79-
}PrinttupAttrInfo;
79+
}PrinttupAttrInfo;
8080

8181
typedefstruct
8282
{
8383
DestReceiverpub;/* publicly-known function pointers */
8484
TupleDescattrinfo;/* The attr info we are set up for */
8585
intnattrs;
8686
PrinttupAttrInfo*myinfo;/* Cached info about each attr */
87-
}DR_printtup;
87+
}DR_printtup;
8888

8989
/* ----------------
9090
*Initialize: create a DestReceiver for printtup
@@ -107,7 +107,7 @@ printtup_create_DR()
107107
}
108108

109109
staticvoid
110-
printtup_setup(DestReceiver*self,TupleDesctypeinfo)
110+
printtup_setup(DestReceiver*self,TupleDesctypeinfo)
111111
{
112112
/* ----------------
113113
* We could set up the derived attr info at this time, but we postpone it
@@ -123,7 +123,7 @@ printtup_setup(DestReceiver * self, TupleDesc typeinfo)
123123
}
124124

125125
staticvoid
126-
printtup_prepare_info(DR_printtup*myState,TupleDesctypeinfo,intnumAttrs)
126+
printtup_prepare_info(DR_printtup*myState,TupleDesctypeinfo,intnumAttrs)
127127
{
128128
inti;
129129

@@ -151,7 +151,7 @@ printtup_prepare_info(DR_printtup * myState, TupleDesc typeinfo, int numAttrs)
151151
* ----------------
152152
*/
153153
staticvoid
154-
printtup(HeapTupletuple,TupleDesctypeinfo,DestReceiver*self)
154+
printtup(HeapTupletuple,TupleDesctypeinfo,DestReceiver*self)
155155
{
156156
DR_printtup*myState= (DR_printtup*)self;
157157
StringInfoDatabuf;
@@ -228,7 +228,7 @@ printtup(HeapTuple tuple, TupleDesc typeinfo, DestReceiver * self)
228228
* ----------------
229229
*/
230230
staticvoid
231-
printtup_cleanup(DestReceiver*self)
231+
printtup_cleanup(DestReceiver*self)
232232
{
233233
DR_printtup*myState= (DR_printtup*)self;
234234

@@ -280,7 +280,7 @@ showatts(char *name, TupleDesc tupleDesc)
280280
* ----------------
281281
*/
282282
void
283-
debugtup(HeapTupletuple,TupleDesctypeinfo,DestReceiver*self)
283+
debugtup(HeapTupletuple,TupleDesctypeinfo,DestReceiver*self)
284284
{
285285
inti;
286286
Datumattr;
@@ -316,7 +316,7 @@ debugtup(HeapTuple tuple, TupleDesc typeinfo, DestReceiver * self)
316316
* ----------------
317317
*/
318318
void
319-
printtup_internal(HeapTupletuple,TupleDesctypeinfo,DestReceiver*self)
319+
printtup_internal(HeapTupletuple,TupleDesctypeinfo,DestReceiver*self)
320320
{
321321
StringInfoDatabuf;
322322
inti,

‎src/backend/access/common/tupdesc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.49 1999/05/2516:06:42 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.50 1999/05/2522:40:48 momjian Exp $
1111
*
1212
* NOTES
1313
* some of the executor utility code such as "ExecTypeFromTL" should be
@@ -75,7 +75,7 @@ CreateTemplateTupleDesc(int natts)
7575
* ----------------------------------------------------------------
7676
*/
7777
TupleDesc
78-
CreateTupleDesc(intnatts,Form_pg_attribute*attrs)
78+
CreateTupleDesc(intnatts,Form_pg_attribute*attrs)
7979
{
8080
TupleDescdesc;
8181

‎src/backend/access/hash/hashfunc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashfunc.c,v 1.17 1999/05/2516:06:56 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashfunc.c,v 1.18 1999/05/2522:40:49 momjian Exp $
1111
*
1212
* NOTES
1313
* These functions are stored in pg_amproc.For each operator class
@@ -34,7 +34,7 @@ hashint4(uint32 key)
3434
}
3535

3636
uint32
37-
hashint8(int64*key)
37+
hashint8(int64*key)
3838
{
3939
return ~((uint32)*key);
4040
}

‎src/backend/access/nbtree/nbtcompare.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.23 1999/05/2516:07:21 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.24 1999/05/2522:40:50 momjian Exp $
1111
*
1212
*NOTES
1313
*These functions are stored in pg_amproc. For each operator class
@@ -40,7 +40,7 @@ btint4cmp(int32 a, int32 b)
4040
}
4141

4242
int32
43-
btint8cmp(int64*a,int64*b)
43+
btint8cmp(int64*a,int64*b)
4444
{
4545
if (*a>*b)
4646
return1;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp