diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-01-13 18:26:18 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-01-13 18:26:18 +0000 |
commit | 46a28f1b14ee9d42cdec82d24c962a1274bbd076 (patch) | |
tree | 64249d62a4def09c270f338ca0ac681905d85470 /src/include/commands/dbcommands.h | |
parent | bfa3b59d2501e7b9d8e4480a1ad7feb3cdeaa703 (diff) | |
download | postgresql-46a28f1b14ee9d42cdec82d24c962a1274bbd076.tar.gz postgresql-46a28f1b14ee9d42cdec82d24c962a1274bbd076.zip |
Fixed everything in and surrounding createdb and dropdb to make it more
error-proof. Rearranged some old code and removed dead sections.
Diffstat (limited to 'src/include/commands/dbcommands.h')
-rw-r--r-- | src/include/commands/dbcommands.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/include/commands/dbcommands.h b/src/include/commands/dbcommands.h index 165b20505f4..90245d338a6 100644 --- a/src/include/commands/dbcommands.h +++ b/src/include/commands/dbcommands.h @@ -6,23 +6,14 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: dbcommands.h,v 1.11 1999/12/10 03:56:06 momjian Exp $ + * $Id: dbcommands.h,v 1.12 2000/01/13 18:26:16 petere Exp $ * *------------------------------------------------------------------------- */ #ifndef DBCOMMANDS_H #define DBCOMMANDS_H -#include <signal.h> -#include "tcop/dest.h" - -/* - * Originally from tmp/daemon.h. The functions declared in daemon.h does not - * exist; hence removed. -- AY 7/29/94 - */ -#define SIGKILLDAEMON1 SIGTERM - -extern void createdb(char *dbname, char *dbpath, int encoding, CommandDest); -extern void dropdb(char *dbname, CommandDest); +extern void createdb(const char *dbname, const char *dbpath, int encoding); +extern void dropdb(const char *dbname); #endif /* DBCOMMANDS_H */ |