From 71fd49e28dd218531164d5cd9fd080323c3f1bad Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 18 Jun 2002 17:27:58 +0000 Subject: 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. --- src/include/commands/dbcommands.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/include/commands/dbcommands.h') 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 -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); -- cgit v1.2.3