Re: tsearch2 question

Поиск
Список
Период
Сортировка
От Wei Weng
Тема Re: tsearch2 question
Дата
Msg-id Pine.LNX.4.56.0309261035270.28433@localhost.localdomain
обсуждение исходный текст
Ответ на Re: tsearch2 question  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: tsearch2 question
Список 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@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)
> 


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to generate object DDL of the database objects
Следующее
От: Tom Lane
Дата:
Сообщение: Re: tsearch2 question