aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/dbcommands.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-06-18 17:27:58 +0000
committerBruce Momjian <bruce@momjian.us>2002-06-18 17:27:58 +0000
commit71fd49e28dd218531164d5cd9fd080323c3f1bad (patch)
treea7cc0eb8950fbb94c730d728f6efc0e448460d5d /src/include/commands/dbcommands.h
parent3d564953cd4f1f85f18ad53b49e099635f8c2cd8 (diff)
downloadpostgresql-71fd49e28dd218531164d5cd9fd080323c3f1bad.tar.gz
postgresql-71fd49e28dd218531164d5cd9fd080323c3f1bad.zip
Change CREATE DATABASE to use DefElem instead of constructing structure
members in gram.y. This is the prefered method for WITH and arbitrary param/value pairs.
Diffstat (limited to 'src/include/commands/dbcommands.h')
-rw-r--r--src/include/commands/dbcommands.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/commands/dbcommands.h b/src/include/commands/dbcommands.h
index 32c823e152c..1a99da6d4da 100644
--- a/src/include/commands/dbcommands.h
+++ b/src/include/commands/dbcommands.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: dbcommands.h,v 1.21 2002/03/01 22:45:17 petere Exp $
+ * $Id: dbcommands.h,v 1.22 2002/06/18 17:27:58 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -16,9 +16,7 @@
#include <nodes/parsenodes.h>
-extern void createdb(const char *dbname, const char *dbowner,
- const char *dbpath, const char *dbtemplate,
- int encoding);
+extern void createdb(CreatedbStmt *stmt);
extern void dropdb(const char *dbname);
extern void AlterDatabaseSet(AlterDatabaseSetStmt *stmt);