From: | Wei Weng <wweng(at)kencast(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: tsearch2 question |
Date: | 2003-09-26 14:37:45 |
Message-ID: | Pine.LNX.4.56.0309261035270.28433@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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(at)kencast(dot)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(at)postgresql(dot)org)
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-09-26 15:07:33 | Re: tsearch2 question |
Previous Message | Tom Lane | 2003-09-26 14:24:38 | Re: How to generate object DDL of the database objects |