diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-03-06 02:06:15 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-03-06 02:06:15 +0000 |
commit | a535cdf130167ca6a086805b35f59a6b669b73d7 (patch) | |
tree | 16b33abaf606c064c704a52601562a40856e8153 /src/backend/commands/indexcmds.c | |
parent | 4ae6967f5fcee119d2dba964cf5217b521be37e8 (diff) | |
download | postgresql-a535cdf130167ca6a086805b35f59a6b669b73d7.tar.gz postgresql-a535cdf130167ca6a086805b35f59a6b669b73d7.zip |
Revert temp_tablespaces because of coding problems, per Tom.
Diffstat (limited to 'src/backend/commands/indexcmds.c')
-rw-r--r-- | src/backend/commands/indexcmds.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index b01093106c0..8c5fdbb6c94 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.155 2007/02/01 19:10:26 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.156 2007/03/06 02:06:12 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -209,13 +209,7 @@ DefineIndex(RangeVar *heapRelation, } else { - /* - * if the target table is temporary then use a temp_tablespace - */ - if (!rel->rd_istemp) - tablespaceId = GetDefaultTablespace(); - else - tablespaceId = GetTempTablespace(); + tablespaceId = GetDefaultTablespace(); /* note InvalidOid is OK in this case */ } |