From: Scott Marlowe <scott.marlowe@gmail.com>
To: Carol Walter <walterc@indiana.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: User defined functions... - Found to be tsearch
Date: Thu, 12 Feb 2009 11:48:01 -0700
Message-ID: <dcc563d10902121048n1f7b260av41207660b7a47cf8@mail.gmail.com> (raw)
In-Reply-To: <0B44204C-7F10-4DD5-8180-CF5D6506F671@indiana.edu>
References: <BB2AA425-B2DB-4476-8A4B-409316DE25C9@indiana.edu>
<1233948948.15061.46.camel@jd-laptop.pragmaticzealot.org>
<0B44204C-7F10-4DD5-8180-CF5D6506F671@indiana.edu>
On Wed, Feb 11, 2009 at 8:11 AM, Carol Walter <walterc@indiana.edu> wrote:
> Hello,
> It seems these functions are not user defined functions, but tsearch
> functions. Now, I need to know about tsearch2. I've searched my system and
> I don't find the functions that are being called from this database. I'm
> still a newby with postgres. Should I see these tables and these functions
> with in my users database or are they supposed to be global. If they are
> supposed to be available only within the specific users database, how do I
> make them available to other databases. I'm trying to make an exact copy of
> this database. The original database is failing the sanity check. I can
> copy the data out, but not the schema. I manually created a duplicate
> schema to copy the data back into, but the copy is failing on these two
> table because it doesn't find the functions. I'm not even sure I have the
> tsearch module for this version of postgres. It's 8.2.4. I did an upgrade
> to 8.2.11 and I see a tsearch directory under contrib, but there doesn't
> seem to be one anywhere else, where I would expect it to be for the 8.2.4
> version.
tsearch is included from 8.3 onwards. 8.2 does not have it built it.
You'd have to go into the contrib directory and build it (if you built
pgsql from source) and then install it from there. But upgrading from
8.2 with tsearch added on to 8.3 is a bit of a pain, so I'd strongly
suggest just going to 8.3 if you can. If 8.2.4 is missing a contrib
dir, and you installed from packages it's likely you didn't install
the 8.2.4-contrib package.
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott.marlowe@gmail.com, walterc@indiana.edu
Subject: Re: User defined functions... - Found to be tsearch
In-Reply-To: <dcc563d10902121048n1f7b260av41207660b7a47cf8@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