error when defining a search configuration named "default"

From: robert rottermann <robert(at)redcor(dot)ch>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: error when defining a search configuration named "default"
Date: 2011-11-25 13:34:05
Message-ID: 4ECF994D.20804@redcor.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi there,
I inherited the support of a database with the ancient tsearch2.

I uses a search configuration named "default"

Now when I try to create such a configuration using:
CREATE TEXT SEARCH CONFIGURATION default (
PARSER = "default"
);

I get an error:
postgres=# CREATE TEXT SEARCH CONFIGURATION default (
postgres(# PARSER = "default"
postgres(# );
ERROR: syntax error at or near "default"
LINE 1: CREATE TEXT SEARCH CONFIGURATION default (
^

how can I create such an configuration?

thanks
robert

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Szymon Guz 2011-11-25 13:36:57 Re: error when defining a search configuration named "default"
Previous Message Tomas Vondra 2011-11-25 13:12:32 Re: General performance/load issue