Re: Need help with this Function. I'm getting an error

From: ssharma <sharma(dot)shubhra07(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Need help with this Function. I'm getting an error
Date: 2014-06-11 21:45:32
Message-ID: 1402523132537-5806892.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I am able to run the query successfully outside of the function. I know the
problem is with, per_inventory_query:= quote_literal((select
A.company_name from
fetch_cucm_systems()
where A.id=sys_id ::bigint)) ;
I was hoping somebody could eyeball the syntax and tell me why select * from
bar()
becomes select quote_literal((select
A.company_name from
fetch_cucm_systems()
where A.id=sys_id ::bigint)) in my case ?

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Need-help-with-this-Function-I-m-getting-an-error-tp5806884p5806892.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Markus Neumann 2014-06-11 21:45:47 Re: I probably don't understand aggregates.
Previous Message Markus Neumann 2014-06-11 21:43:06 Re: I probably don't understand aggregates.