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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-04-06 16:41:40 | Re: Book and TEMP vs. TEMPORARY |
Previous Message | Bruce Momjian | 2000-04-06 16:20:33 | Re: Book and TEMP vs. TEMPORARY |