1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Another pgindent run. Fixes enum indenting, and improves #endif

spacing.  Also adds space for one-line comments.
This commit is contained in:
Bruce Momjian
2001-10-28 06:26:15 +00:00
parent c29797deeb
commit 6783b2372e
525 changed files with 2429 additions and 2049 deletions

View File

@ -6,4 +6,5 @@ extern unsigned int crc32_sz(char *buf, int size);
/* Returns crc32 of null-terminated string */
#define crc32(buf) crc32_sz((buf),strlen(buf))
#endif

View File

@ -25,4 +25,5 @@
#define FILEPATH 19
extern const char *descr[];
#endif

View File

@ -62,4 +62,5 @@ typedef struct
#define GETSIGN(x) ( (BITVECP)( (char*)x+GTHDRSIZE ) )
#define GETARR(x) ( (int4*)( (char*)x+GTHDRSIZE ) )
#define ARRNELEM(x) ( ( ((GISTTYPE*)x)->len - GTHDRSIZE )/sizeof(int4) )
#endif

View File

@ -6,4 +6,5 @@ void initmorph(void);
char *lemmatize(char *word, int *len, int type);
bool is_stoptype(int type);
#endif

View File

@ -7,4 +7,5 @@ int tsearch_yylex(void);
void start_parse_str(char *, int);
void start_parse_fh(FILE *, int);
void end_parse(void);
#endif

View File

@ -104,7 +104,7 @@ gettoken_query(QPRS_STATE * state, int4 *val, int4 *lenval, char **strval)
{
switch (state->state)
{
case WAITOPERAND:
case WAITOPERAND:
if (*(state->buf) == '!')
{
(state->buf)++;
@ -408,7 +408,7 @@ rexecqtxt(PG_FUNCTION_ARGS)
execqtxt,
PG_GETARG_DATUM(1),
PG_GETARG_DATUM(0)
);
);
}
Datum

View File

@ -48,4 +48,5 @@ typedef struct
bool execute(ITEM * curitem, void *checkval,
bool calcnot, bool (*chkcond) (void *checkval, ITEM * val));
#endif

View File

@ -3,4 +3,5 @@
ITEM *clean_NOT(ITEM * ptr, int4 *len);
ITEM *clean_fakeval(ITEM * ptr, int4 *len);
#endif

View File

@ -327,7 +327,7 @@ typedef struct
{
uint16 len;
char *word;
} WORD;
} WORD;
typedef struct
{
@ -402,7 +402,7 @@ compareWORD(const void *a, const void *b)
}
static int
uniqueWORD(WORD * a, int4 l)
uniqueWORD(WORD *a, int4 l)
{
WORD *ptr,
*res;

View File

@ -44,4 +44,5 @@ typedef struct
} TI_IN_STATE;
int4 gettoken_txtidx(TI_IN_STATE * state);
#endif