Re: Indexes generated for primary key are not show

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Constantin Stefanov <cstef(at)mail(dot)ru>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgadmin-support(at)postgresql(dot)org
Subject: Re: Indexes generated for primary key are not show
Date: 2004-02-12 09:10:52
Message-ID: 402B431C.4010409@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support


>>In phpPgAdmin, we list them separately as well, however it did require
>>some thinking. In the end I decided to display things in the way the
>>SQL spec lays them out. All constraints together, etc.
>
> And do you display indexes which are automatically generated by PRIMARY
> KEY constraint?

No. The index name is same as constraint name anyway. But we've never
had anyone complain about it yet.

I would not say those indexes should be in generated SQL
> - they certainly should not. But I say those indexes should be displayed
> where user-created indexes are. Dave says they shouldn't - well, he is a
> developer of PgAdmin, and I will use PgAdmin whether this feature will
> be implemented or not, it is useful and convenient tool. But I asked for
> it because in my opinion it will make PgAdmin more convenient. The final
> desicion is, of course, made by developers, I only try to convince them
> that my suggestion makes sense.

It does, but it also adds weirdness, because the same thing is listed in
two different places. I'd consider adding them to the phpPgAdmin index
view as sort of greyed out maybe, and under a heading 'constraint indexes'

Chris

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Prashanthi Muthyala 2004-02-12 20:26:15
Previous Message Constantin Stefanov 2004-02-12 08:40:39 Re: Indexes generated for primary key are not show