Re: Using a multi-valued function in a view

From: Radcon Entec <radconentec(at)yahoo(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Using a multi-valued function in a view
Date: 2009-06-05 12:57:27
Message-ID: 283239.19694.qm@web43408.mail.sp1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

By George, I think you've got it!
(Imagine a hokey imitation British accent.)

I only had to make one small change.  It complained it didn't know about a column named "charge".  When I changed it to:
    select charge, (cn).* from (select charge, chargeneeds(charge) as cn from charge) q;
it worked.

Thanks for all your time and effort!

RobR

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2009-06-05 13:32:08 Re: sequences and RULEs
Previous Message Grand, Mark D. 2009-06-05 11:49:09 invalid byte sequence for encoding "UTF8": 0xab