Re: [BUGS] BUG #5427: Using CASE in plpgsql causes 'ERROR: cache lookup failed'

2010-04-16 Thread Tom Lane
Mario Splivalo writes: > Huh! As I was explained od pg-sql list by Tom Lane, this should not > happen, so it is a bug! :) I apologize for the inconvenience. It's already fixed: http://archives.postgresql.org/pgsql-committers/2010-04/msg00126.php regards, tom lane -- Sen

Re: [BUGS] BUG #5427: Using CASE in plpgsql causes 'ERROR: cache lookup failed'

2010-04-16 Thread Mario Splivalo
Mario Splivalo wrote: > > Is this desired behavior so that first I need to check if service_id is > existent, or is this a bug? :) Huh! As I was explained od pg-sql list by Tom Lane, this should not happen, so it is a bug! :) I apologize for the inconvenience. Mike -- Sent via pgsql-

[BUGS] BUG #5427: Using CASE in plpgsql causes 'ERROR: cache lookup failed'

2010-04-16 Thread Mario Splivalo
The following bug has been logged online: Bug reference: 5427 Logged by: Mario Splivalo Email address: mario.spliv...@megafon.hr PostgreSQL version: 8.4.2 Operating system: Ubuntu 9.04 Description:Using CASE in plpgsql causes 'ERROR: cache lookup failed' Details: I