BUG #5497: plpythonu gives cache lookup error - Mailing list pgsql-bugs

From David Gardner
Subject BUG #5497: plpythonu gives cache lookup error
Date
Msg-id 201006092221.o59MLI8Z056805@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5497: plpythonu gives cache lookup error
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5497
Logged by:          David Gardner
Email address:      dgardner@creatureshop.com
PostgreSQL version: 9.0beta2
Operating system:   Debian Linux
Description:        plpythonu gives cache lookup error
Details:

hdpsdb=# CREATE OR REPLACE FUNCTION py_test(to_list text[])
  RETURNS text AS
$BODY$
return 'here'
$BODY$
  LANGUAGE 'plpythonu' VOLATILE;
CREATE FUNCTION
hdpsdb=# SELECT * FROM py_test('{"a","b","c"}');
ERROR:  cache lookup failed for type 98
CONTEXT:  PL/Python function "py_test"
hdpsdb=# SELECT version();
                                                 version

----------------------------------------------------------------------------
-----------------------------
 PostgreSQL 9.0beta2 on x86_64-pc-linux-gnu, compiled by GCC gcc-4.4.real
(Debian 4.4.4-3) 4.4.4, 64-bit
(1 row)

hdpsdb=#

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: BUG #5488: pg_dump does not quote column names -> pg_restore may fail when upgrading
Next
From: Tom Lane
Date:
Subject: Re: BUG #5497: plpythonu gives cache lookup error