What are the possible values of regconfig in postgresql?

Viewed 4257
  1. http://www.postgresql.org/docs/9.3/static/textsearch-controls.html often refers to an optional regconfig parameter, but I can't find its possible values and their meanings. Where is it documented? If this can't be answered (e.g. because it depends on my installed database-components or like), how can I determine it myself?

  2. I'd like a "plain text" regconfig, without any human-language transformation. What is the argument for it?

2 Answers

The blog article Mastering PostgreSQL Tools: Full-Text Search and Phrase Search answers your question in full.

To summarize:

The regconfig is the Search Configuration object which is, itself, a collection of templates, parser dictionaries and stopwords. You can find it using the command \dF. To find out more about a particular regconfig, such as english/dutch use the command \dF+ dutch

For setting up own regconfig, you'll need access to the postgres.conf file, which isn't always allowed.

Related