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

Commitea08e6c

Browse files
committed
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
initdb/regression tests pass.
1 parent34153b2 commitea08e6c

File tree

503 files changed

+1652
-1614
lines changed

Some content is hidden

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

503 files changed

+1652
-1614
lines changed

‎contrib/btree_gist/btree_gist.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ typedef struct intkey
1515
{
1616
int4lower;
1717
int4upper;
18-
}INT4KEY;
18+
}INT4KEY;
1919

2020
typedefstructtskey
2121
{
2222
Timestamplower;
2323
Timestampupper;
24-
}TSKEY;
24+
}TSKEY;
2525

2626
/* used for sorting */
2727
typedefstructrix
2828
{
2929
intindex;
3030
char*r;
31-
}RIX;
31+
}RIX;
3232

3333
/*
3434
** int4key in/out

‎contrib/chkpass/chkpass.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* darcy@druid.net
55
* http://www.druid.net/darcy/
66
*
7-
* $Id: chkpass.c,v 1.5 2001/10/25 05:49:19 momjian Exp $
7+
* $Id: chkpass.c,v 1.6 2001/11/05 17:46:22 momjian Exp $
88
* best viewed with tabs set to 4
99
*/
1010

@@ -32,7 +32,7 @@
3232
typedefstructchkpass
3333
{
3434
charpassword[16];
35-
}chkpass;
35+
}chkpass;
3636

3737
/*
3838
* Various forward declarations:

‎contrib/cube/cubedata.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ typedef struct NDBOX
33
unsignedintsize;/* required to be a Postgres varlena type */
44
unsignedintdim;
55
floatx[1];
6-
}NDBOX;
6+
}NDBOX;

‎contrib/dbase/dbf.h‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ typedef struct
5151
u_chardbh_hlen[2];/* length of this header */
5252
u_chardbh_rlen[2];/* length of a record */
5353
u_chardbh_stub[20];/* misc stuff we don't need */
54-
}dbf_header;
54+
}dbf_header;
5555

5656
/* disk field-description */
5757

@@ -64,7 +64,7 @@ typedef struct
6464
u_chardbf_dec;/* number of decimal positions if type is
6565
* 'N' */
6666
u_chardbf_stub[14];/* stuff we don't need */
67-
}dbf_field;
67+
}dbf_field;
6868

6969
/* memory field-description */
7070

@@ -74,7 +74,7 @@ typedef struct
7474
u_chardb_type;/* field-type */
7575
u_chardb_flen;/* field-length */
7676
u_chardb_dec;/* number of decimal positions */
77-
}f_descr;
77+
}f_descr;
7878

7979
/* memory dfb-header */
8080

@@ -95,7 +95,7 @@ typedef struct
9595
u_char*db_buff;/* record-buffer to save malloc()'s */
9696
f_descr*db_fields;/* pointer to an array of field-
9797
* descriptions */
98-
}dbhead;
98+
}dbhead;
9999

100100
/* structure that contains everything a user wants from a field, including
101101
the contents (in ASCII). Warning! db_flen may be bigger than the actual
@@ -109,7 +109,7 @@ typedef struct
109109
u_chardb_flen;/* field-length */
110110
u_chardb_dec;/* number of decimal positions */
111111
u_char*db_contents;/* contents of the field in ASCII */
112-
}field;
112+
}field;
113113

114114
/* prototypes for functions */
115115

@@ -136,4 +136,4 @@ extern void put_long(u_char *cp, long lval);
136136
externshortget_short(u_char*cp);
137137
externvoidput_short(u_char*cp,shortlval);
138138

139-
#endif/* _DBF_H */
139+
#endif/* _DBF_H */

‎contrib/dblink/dblink.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ typedef struct
5454
*/
5555
PGresult*res;
5656

57-
}dblink_results;
57+
}dblink_results;
5858

5959
/*
6060
* External declarations
@@ -67,4 +67,4 @@ extern Datum dblink_tok(PG_FUNCTION_ARGS);
6767
*/
6868
dblink_results*init_dblink_results(MemoryContextfn_mcxt);
6969

70-
#endif/* DBLINK_H */
70+
#endif/* DBLINK_H */

‎contrib/fulltextindex/fti.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@ char *StopWords[] = {/* list of words to skip in indexing */
103103
"the",
104104
"yes"
105105
};
106-
#endif/* USE_STOP_WORDS */
106+
#endif/* USE_STOP_WORDS */
107107

108108
/* stuff for caching query-plans, stolen from contrib/spi/\*.c */
109109
typedefstruct
110110
{
111111
char*ident;
112112
intnplans;
113113
void**splan;
114-
}EPlan;
114+
}EPlan;
115115

116116
staticEPlan*InsertPlans=NULL;
117117
staticEPlan*DeletePlans=NULL;
@@ -403,7 +403,7 @@ is_stopword(char *text)
403403
else
404404
StopHigh=StopMiddle;
405405
}
406-
#endif/* USE_STOP_WORDS */
406+
#endif/* USE_STOP_WORDS */
407407

408408
return (false);
409409
}

‎contrib/fuzzystrmatch/fuzzystrmatch.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,4 +169,4 @@ char_codes[26] = {
169169
/* These prevent GH from becoming F */
170170
#defineNOGHTOF(c)(ENCODE(c) & 16)/* BDH */
171171

172-
#endif/* FUZZYSTRMATCH_H */
172+
#endif/* FUZZYSTRMATCH_H */

‎contrib/isbn_issn/isbn_issn.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
*PostgreSQL type definitions for ISBNs.
33
*
4-
*$Id: isbn_issn.c,v 1.3 2001/02/10 02:31:25 tgl Exp $
4+
*$Id: isbn_issn.c,v 1.4 2001/11/05 17:46:23 momjian Exp $
55
*/
66

77
#include"postgres.h"
@@ -16,7 +16,7 @@ typedef struct isbn
1616
{
1717
charnum[13];
1818
charpad[3];
19-
}isbn;
19+
}isbn;
2020

2121
/*
2222
*Various forward declarations:
@@ -204,7 +204,7 @@ typedef struct issn
204204
{
205205
charnum[9];
206206
charpad[7];
207-
}issn;
207+
}issn;
208208

209209
/*
210210
*Various forward declarations:

‎contrib/pg_dumplo/pg_dumplo.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* -------------------------------------------------------------------------
22
* pg_dumplo
33
*
4-
* $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/pg_dumplo.h,v 1.6 2001/10/28 06:25:40 momjian Exp $
4+
* $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/pg_dumplo.h,v 1.7 2001/11/05 17:46:23 momjian Exp $
55
*
66
*Karel Zak 1999-2000
77
* -------------------------------------------------------------------------
@@ -41,7 +41,7 @@ typedef struct
4141
char*lo_table,
4242
*lo_attr;
4343
Oidlo_oid;
44-
}LOlist;
44+
}LOlist;
4545

4646
typedefstruct
4747
{
@@ -60,7 +60,7 @@ typedef struct
6060
quiet;
6161
PGresult*res;
6262
PGconn*conn;
63-
}LODumpMaster;
63+
}LODumpMaster;
6464

6565
typedefenum
6666
{
@@ -69,7 +69,7 @@ typedef enum
6969
ACTION_EXPORT_ATTR,
7070
ACTION_EXPORT_ALL,
7171
ACTION_IMPORT
72-
}PGLODUMP_ACTIONS;
72+
}PGLODUMP_ACTIONS;
7373

7474
externchar*progname;
7575

@@ -79,4 +79,4 @@ extern void load_lolist(LODumpMaster * pgLO);
7979
externvoidpglo_export(LODumpMaster*pgLO);
8080
externvoidpglo_import(LODumpMaster*pgLO);
8181

82-
#endif/* PG_DUMPLO_H */
82+
#endif/* PG_DUMPLO_H */

‎contrib/pg_logger/pg_logger.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ struct
1818
constchar*tag;
1919
intsize;
2020
intpriority;
21-
}tags[]=
21+
}tags[]=
2222

2323
{
2424
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp