diff options
Diffstat (limited to 'src/bin/pg_dump/common.h')
-rw-r--r-- | src/bin/pg_dump/common.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/bin/pg_dump/common.h b/src/bin/pg_dump/common.h new file mode 100644 index 00000000000..742d9f68c6c --- /dev/null +++ b/src/bin/pg_dump/common.h @@ -0,0 +1,24 @@ +/*------------------------------------------------------------------------- + * + * common.h + * Common header file for the pg_dump, pg_dumpall, and pg_restore + * + * Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California + * + * src/bin/pg_dump/common.h + * + *------------------------------------------------------------------------- + */ + +#ifndef COMMON_H +#define COMMON_H + +#include "postgres_fe.h" + +extern char *pg_strdup(const char *string); +extern void *pg_malloc(size_t size); +extern void *pg_calloc(size_t nmemb, size_t size); +extern void *pg_realloc(void *ptr, size_t size); + +#endif /* COMMON_H */ |