Re: functions returning sets - Mailing list pgsql-hackers

From Alex Pilosov
Subject Re: functions returning sets
Date
Msg-id Pine.BSO.4.10.10106301231230.7004-100000@spider.pilosoft.com
Whole thread Raw
In response to Re: functions returning sets  (Alex Pilosov <alex@pilosoft.com>)
List 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Now it's my turn...
Next
From: "Ing. Roberto Andrade Fonseca"
Date:
Subject: Re: Now it's my turn...