aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/pg_basebackup.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-11-27 20:56:46 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-11-27 20:56:46 -0500
commit0772c152b9bd02baeca6920c3371fce95e8f13dc (patch)
treeb848b3e13a892ab2237130514ee290138cce0670 /src/bin/pg_basebackup/pg_basebackup.c
parentcb03fa33aeaea4775b9f3437a2240de4ac9cb630 (diff)
downloadpostgresql-0772c152b9bd02baeca6920c3371fce95e8f13dc.tar.gz
postgresql-0772c152b9bd02baeca6920c3371fce95e8f13dc.zip
Mark some more functions as pg_attribute_noreturn().
Doing this suppresses Coverity warnings and might allow improved code in some cases. The prospects of that are not so bright as to warrant back-patching, though. Michael Paquier, per Coverity
Diffstat (limited to 'src/bin/pg_basebackup/pg_basebackup.c')
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index a8715d912d5..8427c97fe4a 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -132,7 +132,7 @@ static PQExpBuffer recoveryconfcontents = NULL;
/* Function headers */
static void usage(void);
-static void disconnect_and_exit(int code);
+static void disconnect_and_exit(int code) pg_attribute_noreturn();
static void verify_dir_is_empty_or_create(char *dirname, bool *created, bool *found);
static void progress_report(int tablespacenum, const char *filename, bool force);