pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wei Weng <wweng@kencast.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: tsearch2 question
Date: Fri, 26 Sep 2003 10:37:45 -0400 (EDT)
Message-ID: <Pine.LNX.4.56.0309261035270.28433@localhost.localdomain> (raw)
In-Reply-To: <5912.1064536486@sss.pgh.pa.us>
References: <Pine.LNX.4.56.0309251610280.19659@localhost.localdomain>
	<5912.1064536486@sss.pgh.pa.us>

But then when I do a psql < tsearch2.sql, it complains:

bash-2.05a$ psql testdb < tsearch2.sql 
SET
BEGIN
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index 
'pg_ts_dict_pkey' for table 'pg_ts_dict'
CREATE TABLE
ERROR:  stat failed on file '$libdir/tsearch2': No such file or directory
ERROR:  current transaction is aborted, queries ignored until end of 
transaction block
ERROR:  current transaction is aborted, queries ignored until end of 
transaction block
...
(and the ERROR message repeats many times)

Where did I do wrong??

Thanks

Wei


On Thu, 25 Sep 2003, Tom Lane wrote:

> Wei Weng <wweng@kencast.com> writes:
> > In my tsearch2.sql there are statements like :
> > --dict interface
> > CREATE FUNCTION lexize(oid, text) 
> > 	returns _text
> > 	as '$libdir/tsearch2'
> > 	language 'C'
> > 	with (isstrict);
> 
> > I don't think $libdir is the real value that we want.
> 
> Yes it is.
> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> 



view thread (7+ messages)  latest in thread

Message-ID: <Pine.LNX.4.56.0309261035270.28433@localhost.localdomain>
Permalink:  ../Pine.LNX.4.56.0309261035270.28433@localhost.localdomain/
Also on:    postgresql.org/message-id/Pine.LNX.4.56.0309261035270.28433@localhost.localdomain

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: wweng@kencast.com, tgl@sss.pgh.pa.us
  Subject: Re: tsearch2 question
  In-Reply-To: <Pine.LNX.4.56.0309261035270.28433@localhost.localdomain>

* 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