BUG #5497: plpythonu gives cache lookup error

From: "David Gardner" <dgardner(at)creatureshop(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5497: plpythonu gives cache lookup error
Date: 2010-06-09 22:21:18
Message-ID: 201006092221.o59MLI8Z056805@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5497
Logged by: David Gardner
Email address: dgardner(at)creatureshop(dot)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=#

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2010-06-10 01:10:21 Re: BUG #5488: pg_dump does not quote column names -> pg_restore may fail when upgrading
Previous Message Mark Kirkwood 2010-06-09 22:03:15 Re: Bad optimizer data for xml (WAS: xml data type implications of no =)