Re: Cursor support in pl/pg

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Ian Lance Taylor <ian(at)airs(dot)com>
Cc: Jan Wieck <JanWieck(at)Yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Cursor support in pl/pg
Date: 2001-04-26 18:53:11
Message-ID: 200104261853.NAA03395@jupiter.jw.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ian Lance Taylor wrote:
> Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
>
> > I don't object if we can be sure that it's implementing the
> > syntax a final version with *real* cursor support will have.
> > Can we?
>
> I don't know, and I don't know what the decision criteria are.
>
> I intentionally implemented the Oracle cursor syntax. PL/pgSQL is
> very similar to PL/SQL, and I didn't see any reason to introduce a
> spurious difference. Note in particular that simply passing
> OPEN/FETCH/CLOSE through to the Postgres SQL parser does not implement
> the Oracle cursor syntax, so I wouldn't have done that even if it
> would have worked.

Maybe it's "very similar" because I had an Oracle PL/SQL
language reference at hand while writing the grammar file,
maybe it's just by accident :-)

>
> (I have a vested interest here. For various reasons, my company,
> Zembu, has an interest in minimizing the strain of porting
> applications from Oracle to Postgres. I assume that the Postgres team
> also has that interest, within reason. But I don't know for sure.)

Who hasn't? O.K., you convinced me.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message will trillich 2001-04-26 19:01:46 Re: crypt(table.field) ?
Previous Message Joel Burton 2001-04-26 18:42:31 Re: unanswered: Schema Issue