1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* dbcommands.h
|
1997-09-07 07:04:48 +02:00
|
|
|
*
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
2002-06-20 22:29:54 +02:00
|
|
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2002-08-09 18:45:16 +02:00
|
|
|
* $Id: dbcommands.h,v 1.25 2002/08/09 16:45:16 tgl Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef DBCOMMANDS_H
|
|
|
|
#define DBCOMMANDS_H
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2002-03-01 23:45:19 +01:00
|
|
|
#include <nodes/parsenodes.h>
|
|
|
|
|
2002-06-20 18:00:44 +02:00
|
|
|
extern void createdb(const CreatedbStmt *stmt);
|
2000-01-13 19:26:18 +01:00
|
|
|
extern void dropdb(const char *dbname);
|
2002-03-01 23:45:19 +01:00
|
|
|
extern void AlterDatabaseSet(AlterDatabaseSetStmt *stmt);
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2002-08-09 18:45:16 +02:00
|
|
|
extern Oid get_database_oid(const char *dbname);
|
|
|
|
extern Oid get_database_owner(Oid dbid);
|
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* DBCOMMANDS_H */
|