mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
This commit is contained in:
@ -354,13 +354,13 @@ static const char BinarySignature[11] = "PGCOPY\n\377\r\n\0";
|
||||
|
||||
/* non-export function prototypes */
|
||||
static CopyState BeginCopy(ParseState *pstate, bool is_from, Relation rel,
|
||||
RawStmt *raw_query, Oid queryRelId, List *attnamelist,
|
||||
List *options);
|
||||
RawStmt *raw_query, Oid queryRelId, List *attnamelist,
|
||||
List *options);
|
||||
static void EndCopy(CopyState cstate);
|
||||
static void ClosePipeToProgram(CopyState cstate);
|
||||
static CopyState BeginCopyTo(ParseState *pstate, Relation rel, RawStmt *query,
|
||||
Oid queryRelId, const char *filename, bool is_program,
|
||||
List *attnamelist, List *options);
|
||||
Oid queryRelId, const char *filename, bool is_program,
|
||||
List *attnamelist, List *options);
|
||||
static void EndCopyTo(CopyState cstate);
|
||||
static uint64 DoCopyTo(CopyState cstate);
|
||||
static uint64 CopyTo(CopyState cstate);
|
||||
@ -370,14 +370,14 @@ static bool CopyReadLineText(CopyState cstate);
|
||||
static int CopyReadAttributesText(CopyState cstate);
|
||||
static int CopyReadAttributesCSV(CopyState cstate);
|
||||
static Datum CopyReadBinaryAttribute(CopyState cstate,
|
||||
int column_no, FmgrInfo *flinfo,
|
||||
Oid typioparam, int32 typmod,
|
||||
bool *isnull);
|
||||
int column_no, FmgrInfo *flinfo,
|
||||
Oid typioparam, int32 typmod,
|
||||
bool *isnull);
|
||||
static void CopyAttributeOutText(CopyState cstate, char *string);
|
||||
static void CopyAttributeOutCSV(CopyState cstate, char *string,
|
||||
bool use_quote, bool single_attr);
|
||||
bool use_quote, bool single_attr);
|
||||
static List *CopyGetAttnums(TupleDesc tupDesc, Relation rel,
|
||||
List *attnamelist);
|
||||
List *attnamelist);
|
||||
static char *limit_printout_length(const char *str);
|
||||
|
||||
/* Low-level communications functions */
|
||||
@ -388,8 +388,8 @@ static void CopySendData(CopyState cstate, const void *databuf, int datasize);
|
||||
static void CopySendString(CopyState cstate, const char *str);
|
||||
static void CopySendChar(CopyState cstate, char c);
|
||||
static void CopySendEndOfRow(CopyState cstate);
|
||||
static int CopyGetData(CopyState cstate, void *databuf,
|
||||
int minread, int maxread);
|
||||
static int CopyGetData(CopyState cstate, void *databuf,
|
||||
int minread, int maxread);
|
||||
static void CopySendInt32(CopyState cstate, int32 val);
|
||||
static bool CopyGetInt32(CopyState cstate, int32 *val);
|
||||
static void CopySendInt16(CopyState cstate, int16 val);
|
||||
|
Reference in New Issue
Block a user