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
84a0445c
Commit
84a0445c
authored
Jul 15, 2007
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change a couple of exit(0) to return 0 to suppress complaints from
not-too-bright compilers. Per buildfarm results.
parent
7176e60b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
16 deletions
+15
-16
contrib/oid2name/oid2name.c
contrib/oid2name/oid2name.c
+2
-2
contrib/pg_standby/pg_standby.c
contrib/pg_standby/pg_standby.c
+13
-14
No files found.
contrib/oid2name/oid2name.c
View file @
84a0445c
...
...
@@ -4,7 +4,7 @@
*
* Originally by
* B. Palmer, bpalmer@crimelabs.net 1-17-2001
* $PostgreSQL: pgsql/contrib/oid2name/oid2name.c,v 1.3
0 2006/10/19 20:38:48
tgl Exp $
* $PostgreSQL: pgsql/contrib/oid2name/oid2name.c,v 1.3
1 2007/07/15 22:54:20
tgl Exp $
*/
#include "postgres_fe.h"
...
...
@@ -575,5 +575,5 @@ main(int argc, char **argv)
sql_exec_dumpalldbs
(
pgconn
,
my_opts
);
PQfinish
(
pgconn
);
exit
(
0
)
;
return
0
;
}
contrib/pg_standby/pg_standby.c
View file @
84a0445c
...
...
@@ -605,18 +605,17 @@ main(int argc, char **argv)
*/
if
(
triggered
)
exit
(
1
);
/* Normal exit, with non-zero */
else
{
/*
* Once we have restored this file successfully we
* can remove some prior WAL files.
* If this restore fails we musn't remove any
* file because some of them will be requested again
* immediately after the failed restore, or when
* we restart recovery.
*/
if
(
RestoreWALFileForRecovery
())
CustomizableCleanupPriorWALFiles
();
exit
(
0
);
}
/*
* Once we have restored this file successfully we
* can remove some prior WAL files.
* If this restore fails we musn't remove any
* file because some of them will be requested again
* immediately after the failed restore, or when
* we restart recovery.
*/
if
(
RestoreWALFileForRecovery
())
CustomizableCleanupPriorWALFiles
();
return
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