pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: Lista Postgres <pgsql-admin@postgresql.org>
Subject: upgrading tsearch2 (tsearch2.sql)
Date: Fri, 8 Dec 2006 14:25:42 +0530
Message-ID: <a97c77030612080055u7368358k6d206b993e840b38@mail.gmail.com> (raw)

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.



Message-ID: <a97c77030612080055u7368358k6d206b993e840b38@mail.gmail.com>
Permalink:  ../a97c77030612080055u7368358k6d206b993e840b38@mail.gmail.com/
Also on:    postgresql.org/message-id/a97c77030612080055u7368358k6d206b993e840b38@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah.rajesh@gmail.com
  Subject: Re: upgrading tsearch2 (tsearch2.sql)
  In-Reply-To: <a97c77030612080055u7368358k6d206b993e840b38@mail.gmail.com>
  References: <a97c77030612080055u7368358k6d206b993e840b38@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox