diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-07 18:25:07 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-07 18:25:07 +0000 |
commit | 6517f377d65dfb385d589edaa423aef0d1cf5a52 (patch) | |
tree | 2f0ec8d579d5e74ddf89d13ce30a18e34a3b713d /src/include/commands/dbcommands.h | |
parent | 85e2cedf985bfecaf43a18ca17433070f439fb0e (diff) | |
download | postgresql-6517f377d65dfb385d589edaa423aef0d1cf5a52.tar.gz postgresql-6517f377d65dfb385d589edaa423aef0d1cf5a52.zip |
Implement ALTER DATABASE SET TABLESPACE to move a whole database (or at least
as much of it as lives in its default tablespace) to a new tablespace.
Guillaume Lelarge, with some help from Bernd Helmle and Tom Lane
Diffstat (limited to 'src/include/commands/dbcommands.h')
-rw-r--r-- | src/include/commands/dbcommands.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/commands/dbcommands.h b/src/include/commands/dbcommands.h index 970ad12c17d..e6de7ba1e1d 100644 --- a/src/include/commands/dbcommands.h +++ b/src/include/commands/dbcommands.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/dbcommands.h,v 1.47 2008/01/01 19:45:57 momjian Exp $ + * $PostgreSQL: pgsql/src/include/commands/dbcommands.h,v 1.48 2008/11/07 18:25:07 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -55,7 +55,7 @@ typedef struct xl_dbase_drop_rec extern void createdb(const CreatedbStmt *stmt); extern void dropdb(const char *dbname, bool missing_ok); extern void RenameDatabase(const char *oldname, const char *newname); -extern void AlterDatabase(AlterDatabaseStmt *stmt); +extern void AlterDatabase(AlterDatabaseStmt *stmt, bool isTopLevel); extern void AlterDatabaseSet(AlterDatabaseSetStmt *stmt); extern void AlterDatabaseOwner(const char *dbname, Oid newOwnerId); |