failed to execute the psql case statement which has the function call. - Mailing list pgsql-admin

From Nikhil Ingale
Subject failed to execute the psql case statement which has the function call.
Date
Msg-id CALXkTpzzBp7+NjXt5QptMsefJGgnnxoE2mQJKHR0-ucyZaUd+A@mail.gmail.com
Whole thread Raw
Responses Re: failed to execute the psql case statement which has the function call.  (hubert depesz lubaczewski <depesz@depesz.com>)
Re: failed to execute the psql case statement which has the function call.  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-admin
Hi All,

I've a case statement where I'm calling the user defined postgres function and failed to execute the same. Because it's assuming the variable passed inside the function as a column for the table.

ERROR:  column "attributes" does not exist
LINE 1: ... WHEN status_code = 0 THEN CASE WHEN bmask(attributes...

Need help to resolve this problem.

Regards,
Nikhil Ingale

pgsql-admin by date:

Previous
From: Scott Ribe
Date:
Subject: Re: WAL & ZFS
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: failed to execute the psql case statement which has the function call.