dbTalk Databases Forums  

[BUGS] BUG #1483: Index problem

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1483: Index problem in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Zoltan Szmutku
 
Posts: n/a

Default [BUGS] BUG #1483: Index problem - 02-16-2005 , 12:28 PM







The following bug has been logged online:

Bug reference: 1483
Logged by: Zoltan Szmutku
Email address: hargita (AT) freemail (DOT) hu
PostgreSQL version: 8.01
Operating system: Win 2000
Description: Index problem
Details:

Hello,

I now try first the PostgreSql. Before I use the MySQL but, for my new works
I need use the advanced transactions handle.

I have 2 tables : 'proba' and 'proba2' .

My next commands :

1.
CREATE UNIQUE INDEX kod
ON proba
USING btree
(mezo1)

2.
CREATE UNIQUE INDEX kod
ON proba2
USING btree
(mezo1)

The second command not success, I get the error message :

ERROR: relation "kod" already exists

Why ?

Thanks : Zoltan

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply With Quote
  #2  
Old   
Bruno Wolff III
 
Posts: n/a

Default Re: [BUGS] BUG #1483: Index problem - 02-16-2005 , 12:51 PM






On Tue, Feb 15, 2005 at 12:38:17 +0000,
Zoltan Szmutku <hargita (AT) freemail (DOT) hu> wrote:
Quote:
My next commands :

1.
CREATE UNIQUE INDEX kod
ON proba
USING btree
(mezo1)

2.
CREATE UNIQUE INDEX kod
ON proba2
USING btree
(mezo1)

The second command not success, I get the error message :

ERROR: relation "kod" already exists

Why ?
Because you tried to name both indexes the same name. Perhaps you might
use something like proba_kod and proba2_kod?

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.