Gaetano Mendola <[EMAIL PROTECTED]> writes:

> hash_join = on
>                 ->  Seq Scan on lookup_tipo_evento le  (cost=0.00..1.16 rows=16 
> width=32) (actual time=0.017..0.038 rows=16 loops=1)
>
> hash_join = off
>                       ->  Seq Scan on lookup_tipo_evento le  (cost=0.00..1.16 
> rows=16 width=32) (never executed)


Actually this looks like it's arguably a bug to me. Why does the hash join
execute the sequential scan at all? Shouldn't it also like the merge join
recognize that the other hashed relation is empty and skip the sequential scan
entirely?


-- 
greg


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to