Hai all,
I tried to restore a database dump in PostgreSQL server database server 8.0 to PostgreSQL server database server 8.2 on a Windows 2003 server platform. But it shows the following errors and the restoration completes with these errors ignored.
--------------------------------------------------------
pg_restore: creating FUNCTION gtxtidx_in(cstring)
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 39; 1255 18142 FUNCTION gtxtidx_in(cstring) postgres
pg_restore: [archiver (db)] could not execute query: ERROR: could not access file "$libdir/tsearch": No such file or directory
Command was: CREATE FUNCTION gtxtidx_in(cstring) RETURNS gtxtidx
AS '$libdir/tsearch', 'gtxtidx_in'
LANGUAGE c STRICT;
--------------------------------------------------------
pg_restore: creating FUNCTION isbn_in(cstring)
pg_restore: [archiver (db)] Error from TOC entry 43; 1255 18150 FUNCTION isbn_in(cstring) postgres
pg_restore: [archiver (db)] could not execute query: ERROR: could not access file "$libdir/isbn_issn": No such file or directory
Command was: CREATE FUNCTION isbn_in(cstring) RETURNS isbn
AS '$libdir/isbn_issn', 'isbn_in'
LANGUAGE c STRICT;
---------------------------------------------------------
Similar to tsearch and isbn_issn, it shows the non-existence of some more files. But I could find these files within the
folder
D:\PostgreSQL\lib.
The execution of the command
pg_config --pkglibdir returned the following
D:/POSTGR~2/lib. What does this mean?
How can I set the value of $libdir correctly?
Please reply.
Thanks,
...tharas
--------------------------------------------------------
I tried to restore a database dump in PostgreSQL server database server 8.0 to PostgreSQL server database server 8.2 on a Windows 2003 server platform. But it shows the following errors and the restoration completes with these errors ignored.
--------------------------------------------------------
pg_restore: creating FUNCTION gtxtidx_in(cstring)
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 39; 1255 18142 FUNCTION gtxtidx_in(cstring) postgres
pg_restore: [archiver (db)] could not execute query: ERROR: could not access file "$libdir/tsearch": No such file or directory
Command was: CREATE FUNCTION gtxtidx_in(cstring) RETURNS gtxtidx
AS '$libdir/tsearch', 'gtxtidx_in'
LANGUAGE c STRICT;
--------------------------------------------------------
pg_restore: creating FUNCTION isbn_in(cstring)
pg_restore: [archiver (db)] Error from TOC entry 43; 1255 18150 FUNCTION isbn_in(cstring) postgres
pg_restore: [archiver (db)] could not execute query: ERROR: could not access file "$libdir/isbn_issn": No such file or directory
Command was: CREATE FUNCTION isbn_in(cstring) RETURNS isbn
AS '$libdir/isbn_issn', 'isbn_in'
LANGUAGE c STRICT;
---------------------------------------------------------
Similar to tsearch and isbn_issn, it shows the non-existence of some more files. But I could find these files within the
folder
D:\PostgreSQL\lib.
The execution of the command
pg_config --pkglibdir returned the following
D:/POSTGR~2/lib. What does this mean?
How can I set the value of $libdir correctly?
Please reply.
Thanks,
...tharas
--------------------------------------------------------