=?UTF-8?B?57qq5pmT5pum?= <sheepjxx@xxxxxxxxx> writes: > Is it a reasonable idea to add a counter to set_cheapest? You can try it but I think you'll find it's not terribly useful. That will effectively just give you a count of the number of join combinations that were considered (plus the number of base relations). 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