postgresql/src/include/commands/dbcommands.h
Tom Lane 52c9d25933 Be careful to include postgres.h *before* any system headers, to ensure
that the right flavors of largefile-related definitions are seen.
Most of these changes are probably unnecessary, but better safe than
sorry.
2002-09-05 00:43:07 +00:00

27 lines
733 B
C

/*-------------------------------------------------------------------------
*
* dbcommands.h
*
*
*
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: dbcommands.h,v 1.26 2002/09/05 00:43:07 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef DBCOMMANDS_H
#define DBCOMMANDS_H
#include "nodes/parsenodes.h"
extern void createdb(const CreatedbStmt *stmt);
extern void dropdb(const char *dbname);
extern void AlterDatabaseSet(AlterDatabaseSetStmt *stmt);
extern Oid get_database_oid(const char *dbname);
extern Oid get_database_owner(Oid dbid);
#endif /* DBCOMMANDS_H */