summaryrefslogtreecommitdiff
path: root/src/include/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/commands')
-rw-r--r--src/include/commands/copy.h4
-rw-r--r--src/include/commands/copyfrom_internal.h16
-rw-r--r--src/include/commands/defrem.h2
3 files changed, 11 insertions, 11 deletions
diff --git a/src/include/commands/copy.h b/src/include/commands/copy.h
index 8c4748e33d..264895d278 100644
--- a/src/include/commands/copy.h
+++ b/src/include/commands/copy.h
@@ -62,8 +62,8 @@ extern void DoCopy(ParseState *state, const CopyStmt *stmt,
extern void ProcessCopyOptions(ParseState *pstate, CopyFormatOptions *ops_out, bool is_from, List *options);
extern CopyFromState BeginCopyFrom(ParseState *pstate, Relation rel, Node *whereClause,
- const char *filename,
- bool is_program, copy_data_source_cb data_source_cb, List *attnamelist, List *options);
+ const char *filename,
+ bool is_program, copy_data_source_cb data_source_cb, List *attnamelist, List *options);
extern void EndCopyFrom(CopyFromState cstate);
extern bool NextCopyFrom(CopyFromState cstate, ExprContext *econtext,
Datum *values, bool *nulls);
diff --git a/src/include/commands/copyfrom_internal.h b/src/include/commands/copyfrom_internal.h
index 858af7a717..4d68d9cceb 100644
--- a/src/include/commands/copyfrom_internal.h
+++ b/src/include/commands/copyfrom_internal.h
@@ -129,23 +129,23 @@ typedef struct CopyFromStateData
/*
* input_buf holds input data, already converted to database encoding.
*
- * In text mode, CopyReadLine parses this data sufficiently to locate
- * line boundaries, then transfers the data to line_buf. We guarantee
- * that there is a \0 at input_buf[input_buf_len] at all times. (In
- * binary mode, input_buf is not used.)
+ * In text mode, CopyReadLine parses this data sufficiently to locate line
+ * boundaries, then transfers the data to line_buf. We guarantee that
+ * there is a \0 at input_buf[input_buf_len] at all times. (In binary
+ * mode, input_buf is not used.)
*
* If encoding conversion is not required, input_buf is not a separate
* buffer but points directly to raw_buf. In that case, input_buf_len
* tracks the number of bytes that have been verified as valid in the
- * database encoding, and raw_buf_len is the total number of bytes
- * stored in the buffer.
+ * database encoding, and raw_buf_len is the total number of bytes stored
+ * in the buffer.
*/
#define INPUT_BUF_SIZE 65536 /* we palloc INPUT_BUF_SIZE+1 bytes */
char *input_buf;
int input_buf_index; /* next byte to process */
- int input_buf_len; /* total # of bytes stored */
+ int input_buf_len; /* total # of bytes stored */
bool input_reached_eof; /* true if we reached EOF */
- bool input_reached_error; /* true if a conversion error happened */
+ bool input_reached_error; /* true if a conversion error happened */
/* Shorthand for number of unconsumed bytes available in input_buf */
#define INPUT_BUF_BYTES(cstate) ((cstate)->input_buf_len - (cstate)->input_buf_index)
diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h
index 6bce4d76fe..42bf1c7519 100644
--- a/src/include/commands/defrem.h
+++ b/src/include/commands/defrem.h
@@ -83,7 +83,7 @@ extern ObjectAddress AlterOperator(AlterOperatorStmt *stmt);
extern ObjectAddress CreateStatistics(CreateStatsStmt *stmt);
extern ObjectAddress AlterStatistics(AlterStatsStmt *stmt);
extern void RemoveStatisticsById(Oid statsOid);
-extern Oid StatisticsGetRelation(Oid statId, bool missing_ok);
+extern Oid StatisticsGetRelation(Oid statId, bool missing_ok);
/* commands/aggregatecmds.c */
extern ObjectAddress DefineAggregate(ParseState *pstate, List *name, List *args, bool oldstyle,