From: | Szymon Guz <mabewlun(at)gmail(dot)com> |
---|---|
To: | robert rottermann <robert(at)redcor(dot)ch> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: error when defining a search configuration named "default" |
Date: | 2011-11-25 13:36:57 |
Message-ID: | CAFjNrYu-LY5W-qXUTK5acwHbeSoJpu2dbwV4jEwh5e5aZHOiqw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 25 November 2011 14:34, robert rottermann <robert(at)redcor(dot)ch> wrote:
> 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
>
>
>
Hi,
maybe try using ' instead of " ? Something like this::
CREATE TEXT SEARCH CONFIGURATION default (
PARSER = 'default'
);
regards
Szymon
From | Date | Subject | |
---|---|---|---|
Next Message | mephysto | 2011-11-25 14:15:35 | Hashing text in hexadecimal |
Previous Message | robert rottermann | 2011-11-25 13:34:05 | error when defining a search configuration named "default" |