Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
fa88e92a
Commit
fa88e92a
authored
May 29, 2009
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change macros to make gcc quiet when parsing.
parent
400fb19a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
src/backend/commands/copy.c
src/backend/commands/copy.c
+5
-8
No files found.
src/backend/commands/copy.c
View file @
fa88e92a
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/copy.c,v 1.30
8 2009/04/19 21:08:54 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/commands/copy.c,v 1.30
9 2009/05/29 13:54:52 meskes
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -194,8 +194,7 @@ if (1) \
...
@@ -194,8 +194,7 @@ if (1) \
need_data = true; \
need_data = true; \
continue; \
continue; \
} \
} \
} else
} else ((void) 0)
/* This consumes the remainder of the buffer and breaks */
/* This consumes the remainder of the buffer and breaks */
#define IF_NEED_REFILL_AND_EOF_BREAK(extralen) \
#define IF_NEED_REFILL_AND_EOF_BREAK(extralen) \
...
@@ -209,8 +208,7 @@ if (1) \
...
@@ -209,8 +208,7 @@ if (1) \
result = true; \
result = true; \
break; \
break; \
} \
} \
} else
} else ((void) 0)
/*
/*
* Transfer any approved data to line_buf; must do this to be sure
* Transfer any approved data to line_buf; must do this to be sure
...
@@ -226,7 +224,7 @@ if (1) \
...
@@ -226,7 +224,7 @@ if (1) \
raw_buf_ptr - cstate->raw_buf_index); \
raw_buf_ptr - cstate->raw_buf_index); \
cstate->raw_buf_index = raw_buf_ptr; \
cstate->raw_buf_index = raw_buf_ptr; \
} \
} \
} else
} else
((void) 0)
/* Undo any read-ahead and jump out of the block. */
/* Undo any read-ahead and jump out of the block. */
#define NO_END_OF_COPY_GOTO \
#define NO_END_OF_COPY_GOTO \
...
@@ -234,8 +232,7 @@ if (1) \
...
@@ -234,8 +232,7 @@ if (1) \
{ \
{ \
raw_buf_ptr = prev_raw_ptr + 1; \
raw_buf_ptr = prev_raw_ptr + 1; \
goto not_end_of_copy; \
goto not_end_of_copy; \
} else
} else ((void) 0)
static
const
char
BinarySignature
[
11
]
=
"PGCOPY
\n\377\r\n\0
"
;
static
const
char
BinarySignature
[
11
]
=
"PGCOPY
\n\377\r\n\0
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment