Skip site navigation (1) Skip section navigation (2)

Re: Temporary indexes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Temporary indexes
Date: 2000-04-06 16:29:57
Message-ID: 200004061629.MAA23049@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> Do we have temporary indexes?
> 
> 	test=> CREATE  TABLE temptest(col INTEGER);
> 	CREATE
> 	test=> create index ix on temptest (col);
> 	CREATE
> 	test=> CREATE TEMP TABLE masktest (col INTEGER);
> 	CREATE
> 	test=> create index ix on temptest (col);
> 	ERROR:  Cannot create index: 'ix' already exists
> 
> Seems we don't.  Should I add it to the TODO list?

Oh, I see now, I was creating the index on temptest, not masktest. 
Sorry.  It works fine.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2000-04-06 16:41:40
Subject: Re: Book and TEMP vs. TEMPORARY
Previous:From: Bruce MomjianDate: 2000-04-06 16:20:33
Subject: Re: Book and TEMP vs. TEMPORARY

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group