--- Jessica Richard <[EMAIL PROTECTED]> wrote:

> Just want to be very clear that:
> 
> 1. adding a primary key will have an implicit index automatically on the 
> column(s).
> 
> 2. Adding a foreign key will NOT have an index created automatically, it only 
> does the
> referencing work. If an index is needed on the F-key column, it has to be 
> created, right?

Correct.

Regards,
Richard Broersma Jr.


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to