Re: proposal for PL packages for 8.3.

From: "Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: jnasby(at)pervasive(dot)com, dev(at)archonet(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: proposal for PL packages for 8.3.
Date: 2006-08-08 12:30:46
Message-ID: BAY20-F42B98AC6B0AD22F35BE93F9540@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
>"Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com> writes:
> > I unlike concept of nested schemats or packages nested in schema. I
>don't
> > see reason for it. About implementation.. package is more special kind
>of
> > function for me. But relation between package and function I can create
>via
> > dot notation in function's name. It's different from nested syntax from
> > PL/SQL or ADA. I can easy separate SQL part and non SQL part.
>
>Apparently you're not aware that that syntax is not free for the taking.
>The reason people are complaining about this proposal is that currently
>foo.bar(...) means function bar in schema foo, and you seem to be
>intending to break it.
>
I understand it. But I don't know better solution. Certainly foo.bar(..) is
ambigous and it can mean both. ANSI SQL don't use packages and Oracle's
package are unsolveable because we have separated parsers. Do you have any
idea, what is good model for it?

Regards
Pavel Stehule

_________________________________________________________________
Emotikony a pozadi programu MSN Messenger ozivi vasi konverzaci.
http://messenger.msn.cz/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-08 12:36:23 Re: ecpg test suite
Previous Message Tom Lane 2006-08-08 12:18:42 Re: proposal for PL packages for 8.3.