| From: | Heath Tanner <heath(at)inligo(dot)com> |
|---|---|
| To: | <rob(at)cdli(dot)co(dot)uk> |
| Cc: | Postgresql General <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: create function |
| Date: | 2003-06-17 17:52:14 |
| Message-ID: | 6D9D381D-A0EC-11D7-ABDB-0003930C11A0@inligo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Tuesday, June 17, 2003, at 08:45 AM, Rob Larter wrote:
> I am running linux with postgres and want to be able to count the
> amount of
> times a phrase/word is repeated in a field. and thought the only way of
> doing this would be to create a function to pass through text and
> count the
> amount of times a word/phrase is repeated in this
>
> can anyone assist with this?
This is not a specific answer to your question, but perhaps you can
find some example functions that will point you in the right
direction. The "PostgreSQL Cookbook Pages" is a great source of
examples:
http://www.brasileiro.net:8080/postgres/cookbook/
-heath
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-06-17 18:11:49 | Re: order of nested loop |
| Previous Message | Bruno Wolff III | 2003-06-17 17:36:38 | Re: Deferrable constraints |