Unix Technical Forum

upgrading tsearch2 (tsearch2.sql)

This is a discussion on upgrading tsearch2 (tsearch2.sql) within the pgsql Admins forums, part of the PostgreSQL category; --> Hi, We have been using tsearch for past couple of years. we feel that the script tsearch2.sql is only ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 07:54 AM
Rajesh Kumar Mallah
 
Posts: n/a
Default upgrading tsearch2 (tsearch2.sql)

Hi,

We have been using tsearch for past couple of years.
we feel that the script tsearch2.sql is only suitable
for adding tsearch2 support to new databases which
doesn not have it already.

for databases that already have older version tsearch2
installed one has to manually tweak tsearch2.sql to
get the new operators for functions installed. lot of parts
needs to be commented out eg CREATE TABLE pg_ts_cfg etc
and many object creation sql needs to be converted to
CREATE OR REPLACE equivs.

shouldnt' it is more cleaner ?

running untsearch2.sql followed by tsearch2.sql is not an option
as cascading drops , drops existing columns of database.


Regds
mallah.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com