Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1H2nKE64380 for ; Sat, 16 Feb 2002 21:49:21 -0500 (EST) (envelope-from root@candle.pha.pa.us) Received: (from root@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g1H2nDE23123; Sat, 16 Feb 2002 21:49:13 -0500 (EST) From: Bruce Momjian Message-Id: <200202170249.g1H2nDE23123@candle.pha.pa.us> Subject: Re: create index on function - why? In-Reply-To: <3C6D3684.9040101@kencast.com> To: wweng@kencast.com Date: Sat, 16 Feb 2002 21:49:13 -0500 (EST) CC: pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL96 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200202/275 X-Sequence-Number: 6698 Due to time constraints, I do not directly answer general PostgreSQL questions. For assistance, please join the appropriate mailing list and post your question: http://www.postgresql.org/users-lounge You can also try the #postgresql IRC channel. See the PostgreSQL FAQ for more information. --------------------------------------------------------------------------- Wei Weng wrote: > I can understand the rationale behind creating index on tables, it > speeds up the searching. > > But what is the rationale behind creating index on a function? how does > it help with the database performance? > > Thank you. > > -- > Wei Weng > Network Software Engineer > KenCast Inc. > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > > -- Bruce Momjian | http://candle.pha.pa.us root@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026