Paul Wehr <sf_psql_general@xxxxxxxxxxxxxxxxxxxxxxxx> writes: > A last try on this question. In the absence of any response, I'll assume > the postgresql query optimizer simply doesn't take foreign keys into > account in this way. It does not, and never has, and yes there's a TODO item about that. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general