summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_backup_archiver.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-06-27 21:21:37 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-06-27 21:21:37 +0000
commitb559382134a52bbe1d79d465afd89c8385f88581 (patch)
tree71446fe527a8f305f569831f82df1ed886c15a8f /src/bin/pg_dump/pg_backup_archiver.h
parent14807a3c986471f458ff4dc95c2ac2e07ead21d9 (diff)
downloadpostgresql-b559382134a52bbe1d79d465afd89c8385f88581.tar.gz
National language support for pg_dump and pg_restore. Combined with big
message clean up.
Diffstat (limited to 'src/bin/pg_dump/pg_backup_archiver.h')
-rw-r--r--src/bin/pg_dump/pg_backup_archiver.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_backup_archiver.h b/src/bin/pg_dump/pg_backup_archiver.h
index a5357dacd8..0d5dcda4de 100644
--- a/src/bin/pg_dump/pg_backup_archiver.h
+++ b/src/bin/pg_dump/pg_backup_archiver.h
@@ -17,7 +17,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_archiver.h,v 1.34 2001/05/17 21:12:48 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_archiver.h,v 1.35 2001/06/27 21:21:37 petere Exp $
*
* Modifications - 28-Jun-2000 - pjw@rhyme.com.au
* - Initial version.
@@ -38,6 +38,7 @@
#include "postgres_fe.h"
#include <time.h>
+#include <errno.h>
#include "pqexpbuffer.h"
@@ -271,7 +272,9 @@ typedef struct _tocEntry
} TocEntry;
/* Used everywhere */
-extern void die_horribly(ArchiveHandle *AH, const char *fmt,...);
+extern const char *progname;
+extern void die_horribly(ArchiveHandle *AH, const char *modulename, const char *fmt, ...) __attribute__((format(printf,3,4)));
+extern void write_msg(const char *modulename, const char *fmt, ...) __attribute__((format(printf,2,3)));
extern void WriteTOC(ArchiveHandle *AH);
extern void ReadTOC(ArchiveHandle *AH);