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
59202fae
Commit
59202fae
authored
Apr 04, 2014
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some compiler warnings that clang emits with -pedantic.
Andres Freund
parent
b1236f4b
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
10 deletions
+13
-10
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+1
-1
src/bin/pg_dump/parallel.c
src/bin/pg_dump/parallel.c
+4
-1
src/bin/psql/tab-complete.c
src/bin/psql/tab-complete.c
+5
-5
src/include/catalog/objectaccess.h
src/include/catalog/objectaccess.h
+1
-1
src/include/pgstat.h
src/include/pgstat.h
+1
-1
src/include/utils/jsonapi.h
src/include/utils/jsonapi.h
+1
-1
No files found.
src/backend/access/transam/xlog.c
View file @
59202fae
...
...
@@ -651,7 +651,7 @@ typedef enum
XLOG_FROM_ANY
=
0
,
/* request to read WAL from any source */
XLOG_FROM_ARCHIVE
,
/* restored using restore_command */
XLOG_FROM_PG_XLOG
,
/* existing file in pg_xlog */
XLOG_FROM_STREAM
,
/* streamed from master */
XLOG_FROM_STREAM
/* streamed from master */
}
XLogSource
;
/* human-readable names for XLogSources, for debugging output */
...
...
src/bin/pg_dump/parallel.c
View file @
59202fae
...
...
@@ -558,7 +558,10 @@ ParallelBackupStart(ArchiveHandle *AH, RestoreOptions *ropt)
{
/* we are the worker */
int
j
;
int
pipefd
[
2
]
=
{
pipeMW
[
PIPE_READ
],
pipeWM
[
PIPE_WRITE
]};
int
pipefd
[
2
];
pipefd
[
0
]
=
pipeMW
[
PIPE_READ
];
pipefd
[
1
]
=
pipeWM
[
PIPE_WRITE
];
/*
* Store the fds for the reverse communication in pstate. Actually
...
...
src/bin/psql/tab-complete.c
View file @
59202fae
...
...
@@ -781,7 +781,7 @@ static const pgsql_thing_t words_after_create[] = {
/* Forward declaration of functions */
static
char
**
psql_completion
(
char
*
text
,
int
start
,
int
end
);
static
char
**
psql_completion
(
c
onst
c
har
*
text
,
int
start
,
int
end
);
static
char
*
create_command_generator
(
const
char
*
text
,
int
state
);
static
char
*
drop_command_generator
(
const
char
*
text
,
int
state
);
static
char
*
complete_from_query
(
const
char
*
text
,
int
state
);
...
...
@@ -790,7 +790,7 @@ static char *_complete_from_query(int is_schema_query,
const
char
*
text
,
int
state
);
static
char
*
complete_from_list
(
const
char
*
text
,
int
state
);
static
char
*
complete_from_const
(
const
char
*
text
,
int
state
);
static
char
**
complete_from_variables
(
char
*
text
,
static
char
**
complete_from_variables
(
c
onst
c
har
*
text
,
const
char
*
prefix
,
const
char
*
suffix
);
static
char
*
complete_from_files
(
const
char
*
text
,
int
state
);
...
...
@@ -812,7 +812,7 @@ void
initialize_readline
(
void
)
{
rl_readline_name
=
(
char
*
)
pset
.
progname
;
rl_attempted_completion_function
=
(
void
*
)
psql_completion
;
rl_attempted_completion_function
=
psql_completion
;
rl_basic_word_break_characters
=
WORD_BREAKS
;
...
...
@@ -834,7 +834,7 @@ initialize_readline(void)
* completion_matches() function, so we don't have to worry about it.
*/
static
char
**
psql_completion
(
char
*
text
,
int
start
,
int
end
)
psql_completion
(
c
onst
c
har
*
text
,
int
start
,
int
end
)
{
/* This is the variable we'll return. */
char
**
matches
=
NULL
;
...
...
@@ -3847,7 +3847,7 @@ complete_from_const(const char *text, int state)
* to support quoting usages.
*/
static
char
**
complete_from_variables
(
char
*
text
,
const
char
*
prefix
,
const
char
*
suffix
)
complete_from_variables
(
c
onst
c
har
*
text
,
const
char
*
prefix
,
const
char
*
suffix
)
{
char
**
matches
;
char
**
varnames
;
...
...
src/include/catalog/objectaccess.h
View file @
59202fae
...
...
@@ -45,7 +45,7 @@ typedef enum ObjectAccessType
OAT_DROP
,
OAT_POST_ALTER
,
OAT_NAMESPACE_SEARCH
,
OAT_FUNCTION_EXECUTE
,
OAT_FUNCTION_EXECUTE
}
ObjectAccessType
;
/*
...
...
src/include/pgstat.h
View file @
59202fae
...
...
@@ -676,7 +676,7 @@ typedef enum BackendState
STATE_IDLEINTRANSACTION
,
STATE_FASTPATH
,
STATE_IDLEINTRANSACTION_ABORTED
,
STATE_DISABLED
,
STATE_DISABLED
}
BackendState
;
/* ----------
...
...
src/include/utils/jsonapi.h
View file @
59202fae
...
...
@@ -30,7 +30,7 @@ typedef enum
JSON_TOKEN_TRUE
,
JSON_TOKEN_FALSE
,
JSON_TOKEN_NULL
,
JSON_TOKEN_END
,
JSON_TOKEN_END
}
JsonTokenType
;
...
...
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