dspace 1.4.x does not work with postgres 8.3. Your workaround options are upgrading to dspace 1.5.x or downgrading postgres to 8.2.
If you want to fix it in a hurry, changing postgres version is easier. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Jeffrey Trimble wrote: > I've run into this error in Dspace 1.4.x when invoking index all > (after upgrading to 8.3x). > > Exception in thread "main" org.postgresql.util.PSQLException: ERROR: > operator does not exist: integer = character varying > > I've read some postings on other listservs the following solution. > Has **anyone** seen or done this? Or is there another work > around? > > CREATE FUNCTION pg_catalog.text(integer) RETURNS text STRICT IMMUTABLE > LANGUAGE SQL AS 'SELECT textin(int4out($1));'; > CREATE CAST (integer AS text) WITH FUNCTION pg_catalog.text(integer) > AS IMPLICIT; > COMMENT ON FUNCTION pg_catalog.text(integer) IS 'convert integer to text'; > > CREATE FUNCTION pg_catalog.text(bigint) RETURNS text STRICT IMMUTABLE > LANGUAGE SQL AS 'SELECT textin(int8out($1));'; > CREATE CAST (bigint AS text) WITH FUNCTION pg_catalog.text(bigint) AS > IMPLICIT; > COMMENT ON FUNCTION pg_catalog.text(bigint) IS 'convert bigint to text'; > > Thanks in advance, > > > Jeffrey Trimble > System LIbrarian > William F. Maag Library > Youngstown State University > 330.941.2483 (Office) > [email protected] <mailto:[email protected]> > http://www.maag.ysu.edu > http://digital.maag.ysu.edu > ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

