Quite
possibly.
Ye, you got it! ;-)Am running pgAdmin 3, 1.3.0 from May 20th 2005 up against either a PostGre 7.3.9 on Linux or a PostGre 8.0.3 on a Windows 2000 server.I'm guessing you mean PostgreSQL ? :-) Last
time I checked foreign keys were not implemented using indexes, only triggers.
Unique constraints and primary keys are index based.
It
will use what ever it deems to be the most cost-effective access method at it's
disposal, whether that is a seq scan, the primary key/unique index or any other
index. Whether you think of them as an index or not is another matter - pgAdmin
presents the implementation as you would have specified it in the SQL - ie. if
you create a primary key, that is what it will show you. If you're working at a
level where you are anaylsing query plans, then it's not unreasonable to assume
that you know enough to realise that pks, etc are just
indexes.
Showing them as seperate items requires that novices as
well as experts understand that one object is used to implement the other -
otherwise they just get confused (especially with foreign keys where you start
seeing multiple triggers with trigger functions attached to
each).
Regards, Dave.
|