diff options
| author | Bruce Momjian | 2007-01-25 04:35:11 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2007-01-25 04:35:11 +0000 |
| commit | 148ea5cbeae1681ef06e7f3ccb554b8db728b45e (patch) | |
| tree | b6325d169510eb7a38f0558ef5dc301dac988c53 /src/include | |
| parent | 5af6b2abe90d52f7a4dee998c3a5eb24794bf0b1 (diff) | |
Add GUC temp_tablespaces to provide a default location for temporary
objects.
Jaime Casanova
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/commands/tablespace.h | 3 | ||||
| -rw-r--r-- | src/include/utils/guc.h | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/include/commands/tablespace.h b/src/include/commands/tablespace.h index 7456eb2445e..6d3a333cf29 100644 --- a/src/include/commands/tablespace.h +++ b/src/include/commands/tablespace.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/tablespace.h,v 1.14 2007/01/05 22:19:54 momjian Exp $ + * $PostgreSQL: pgsql/src/include/commands/tablespace.h,v 1.15 2007/01/25 04:35:11 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -41,6 +41,7 @@ extern void AlterTableSpaceOwner(const char *name, Oid newOwnerId); extern void TablespaceCreateDbspace(Oid spcNode, Oid dbNode, bool isRedo); extern Oid GetDefaultTablespace(void); +extern Oid GetTempTablespace(void); extern Oid get_tablespace_oid(const char *tablespacename); extern char *get_tablespace_name(Oid spc_oid); diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index d324d66c22a..51cc05a7a73 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -7,7 +7,7 @@ * Copyright (c) 2000-2007, PostgreSQL Global Development Group * Written by Peter Eisentraut <peter_e@gmx.net>. * - * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.78 2007/01/09 21:31:17 momjian Exp $ + * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.79 2007/01/25 04:35:11 momjian Exp $ *-------------------------------------------------------------------- */ #ifndef GUC_H @@ -238,4 +238,8 @@ extern const char *assign_search_path(const char *newval, extern const char *assign_xlog_sync_method(const char *method, bool doit, GucSource source); +/* in commands/tablespace.c */ +extern const char *assign_temp_tablespaces(const char *newval, + bool doit, GucSource source); + #endif /* GUC_H */ |
