Re: Indexing Metaphone?
| От | Richard Poole |
|---|---|
| Тема | Re: Indexing Metaphone? |
| Дата | |
| Msg-id | 20020605183950.GA25470@guests.deus.net обсуждение исходный текст |
| Ответ на | Indexing Metaphone? (Josh Berkus <josh@agliodbs.com>) |
| Ответы |
Re: Indexing Metaphone?
|
| Список | pgsql-sql |
On Wed, Jun 05, 2002 at 11:12:02AM -0700, Josh Berkus wrote: > jwnet=> CREATE INDEX idx_locations_metaphone ON > locations(metaphone(location_name, 12)); > ERROR: parser: parse error at or near "12" > jwnet=> > > is this a syntax error, or do I need to create a column to hold the metaphone > values in order to index them? That's the error message you'd get if pg just didn't know of any function called "metaphone". Have you done the appropriate CREATE FUNCTION magic? "\df metaphone" in psql will tell you whether it's heard of it or not. Richard
В списке pgsql-sql по дате отправления: