what does this do - Mailing list pgsql-sql

From John
Subject what does this do
Date
Msg-id 201006100222.03196.johnf@jfcomputer.com
Whole thread Raw
Responses Re: what does this do  ("Little, Douglas" <DOUGLAS.LITTLE@orbitz.com>)
List pgsql-sql
Hi,
I have a piece of python code that excutes a SQL statement:

apitempCur.execute("select * from jfcs_balancedue('%s') f(enrolleeid varchar, 
course_cost decimal, paid_amt decimal)" % (enrollIds,));

The "enrollids" is a list of primary keys and the "jfcs_balancedue" is a user 
defined function.  What I don't understand is the "f(enrolleeid 
varchar, ...)"   I have no idea what it's for?  Would some kind soul educate 
me.

Thanks in advance,
Jhnf  


pgsql-sql by date:

Previous
From: Aaron Burnett
Date:
Subject: Re: Some insight on the proper SQL would be appreciated
Next
From: Tim Landscheidt
Date:
Subject: Re: what does this do