Re: functions returning sets

From: Alex Pilosov <alex(at)pilosoft(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: functions returning sets
Date: 2001-06-30 16:33:28
Message-ID: Pine.BSO.4.10.10106301231230.7004-100000@spider.pilosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 29 Jun 2001, Alex Pilosov wrote:

> >
> > Yeah, that was what I had up my sleeve ... then
> >
> > select * from mycursor limit 1;
> >
> > would be more or less equivalent to
> >
> > fetch 1 from mycursor;
Hmm, how would this be resolved if there's a (for example) table foo
and a cursor named foo? Warning? Error?

Maybe syntax like 'select * from cursor foo' should be required syntax?

-alex

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ing. Roberto Andrade Fonseca 2001-06-30 17:03:41 Re: Now it's my turn...
Previous Message Tom Lane 2001-06-30 14:42:36 Re: Now it's my turn...