diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/commands/dbcommands.h | 7 | ||||
| -rw-r--r-- | src/include/nodes/parsenodes.h | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/include/commands/dbcommands.h b/src/include/commands/dbcommands.h index 23c68d3c350..0636130c2e1 100644 --- a/src/include/commands/dbcommands.h +++ b/src/include/commands/dbcommands.h @@ -7,15 +7,16 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: dbcommands.h,v 1.19 2001/11/05 17:46:33 momjian Exp $ + * $Id: dbcommands.h,v 1.20 2002/02/24 20:20:21 tgl Exp $ * *------------------------------------------------------------------------- */ #ifndef DBCOMMANDS_H #define DBCOMMANDS_H -extern void createdb(const char *dbname, const char *dbpath, - const char *dbtemplate, int encoding); +extern void createdb(const char *dbname, const char *dbowner, + const char *dbpath, const char *dbtemplate, + int encoding); extern void dropdb(const char *dbname); #endif /* DBCOMMANDS_H */ diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 252c509cc46..0b40fe99480 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parsenodes.h,v 1.152 2002/02/18 23:11:41 petere Exp $ + * $Id: parsenodes.h,v 1.153 2002/02/24 20:20:21 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -679,6 +679,7 @@ typedef struct CreatedbStmt { NodeTag type; char *dbname; /* name of database to create */ + char *dbowner; /* name of owner (NULL = default) */ char *dbpath; /* location of database (NULL = default) */ char *dbtemplate; /* template to use (NULL = default) */ int encoding; /* MULTIBYTE encoding (-1 = use default) */ |
