LIKE, ~ indexing documentation - Mailing list pgsql-hackers

From Marc Howard Zuckman
Subject LIKE, ~ indexing documentation
Date
Msg-id Pine.LNX.3.95.980302151723.15466B-100000@fallon.classyad.com
Whole thread Raw
Responses Re: [HACKERS] LIKE, ~ indexing documentation  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
In a reply to Bruce, I suggested that the create_index man page
might be updated to mention the possible use of indices with
the LIKE, ~, and ~* operators.  I thought that the query used
to generated the table in the man page might be automatically
updated and thus done for 6.3, but probably not since the
matched string expression needs to be anchored.  Mention
of the possible use of indices in this circumstance might still be
included in create_index man page and possibly in the explain man page.

Probably the best place to put it would be in a tips section of the
user manual.  The tips section might include stuff like:
    a) running vacuum to optimize query plan
    b) when to use char/varchar/text
    c) using joins vs subselects

Suggestions are cheap, implementation takes work.  I'm very appreciative
of all that you have already done.

Marc Zuckman



pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: PostgreSQL - the Linux of Databases...
Next
From: Maarten Boekhold
Date:
Subject: Re: [HACKERS] Perl module installs in wrong place