mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
28 lines
841 B
C
28 lines
841 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* dbcommands.h
|
|
*
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $PostgreSQL: pgsql/src/include/commands/dbcommands.h,v 1.30 2003/11/29 22:40:59 pgsql 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 RenameDatabase(const char *oldname, const char *newname);
|
|
extern void AlterDatabaseSet(AlterDatabaseSetStmt *stmt);
|
|
|
|
extern Oid get_database_oid(const char *dbname);
|
|
extern char *get_database_name(Oid dbid);
|
|
|
|
#endif /* DBCOMMANDS_H */
|