Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Tsearch2 default locale on postgres 8.2



set_curcfg() is working only for current session

Tarabas (Manuel Rorarius) wrote:
Hi!

   I am having a tsearch2 problem on postgres 8.2 again ...
   when I try to set the default config for tsearch2 with

   "select set_curcfg('default'); it works fine in the same pgadmin
   session when i use "select show_curcfg();" afterwards. The correct
   OID is shown.

   If i then close the query window and open a new one and then try
   the "select show_curcfg();" again, it states
   "ERROR:  could not find tsearch config by locale"

   Any idea why the configuration is not saved correctly?

Best regards
Manuel ...


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

--
Teodor Sigaev                                   E-mail: teodor(at)sigaev(dot)ru
                                                   WWW: http://www.sigaev.ru/



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group