Re: [HACKERS] Re: PL/PgSQL discussion - Mailing list pgsql-hackers

From jwieck@debis.com (Jan Wieck)
Subject Re: [HACKERS] Re: PL/PgSQL discussion
Date
Msg-id m0yEUUU-000BFRC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to Re: [HACKERS] Re: PL/PgSQL discussion  (dg@illustra.com (David Gould))
List pgsql-hackers
David Gould wrote:
>
> >
> > jwieck@debis.com (Jan Wieck) wrote:
> >
> > >     But I would like to have some discussion on language  itself.
> > >     So  I wrote down what I had in mind. The document is appended
> > >     below.
> > >
> > >     Please comment/suggest !
>
> A question. Will it be possible to call functions from the PL/pgSQL? This
> covers a fair bit, for example to evaluate expressions and casts etc as
> well as calling user functions.
>
> Or was this covered and I just missed it somehow?

    It is covered automagically by the way I'm implementing the
    assignement. The assign code internally does a SELECT. And
    thus:

        n := count(*) from t1;

    works (even if it's far from standard I think).

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#======================================== jwieck@debis.com (Jan Wieck) #

pgsql-hackers by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] Re: PL/PgSQL discussion
Next
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [QUESTIONS] Re: [HACKERS] text should be a blob field