None of which address the question of what plan PG should produce for: SELECT * FROM bigtable WHERE foo LIKE 's%'

        Ah, this one already uses the btree since the '%' is at the end.
My point is that a search like this will yield too many results to be useful to the user anyway, so optimizing its performance is a kind of red herring.


---------------------------(end of broadcast)---------------------------
TIP 1: 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