Re: error when defining a search configuration named "default"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 16:36:10
Message-ID: 10966.1322238970@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

robert rottermann <robert(at)redcor(dot)ch> writes:
> Now when I try to create such a configuration using:
> CREATE TEXT SEARCH CONFIGURATION default (

DEFAULT is a fully reserved word. If you insist on naming your
configuration (or any other kind of SQL object) that, you'll need
to double-quote the name ... not only here in the creation command,
but in every subsequent use of the name. Personally I'd choose
a different name.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2011-11-25 16:49:40 Re: Recommended Protocol: Adding Rows to Table
Previous Message David Johnston 2011-11-25 16:19:21 Re: Recommended Protocol: Adding Rows to Table