Re: [GENERAL] Function returning subset of columns from table (return type)

2008-02-03 Thread Myk
On Sun, 03 Feb 2008 18:23:47 -0500 brian <[EMAIL PROTECTED]> wrote: > Myk wrote: > > Hi > > > > I'm pretty new to PostgreSQL, and have encountered a bit of trouble > > with functions, namely the return type. Version is 8.0.15. > > > > I have

[GENERAL] Function returning subset of columns from table (return type)

2008-02-03 Thread Myk
Hi I'm pretty new to PostgreSQL, and have encountered a bit of trouble with functions, namely the return type. Version is 8.0.15. I have the following table: note ( id int, added date, updated date, text varchar(1000) ) and want to define a function that just re