Re: [HACKERS] Re: PL/PgSQL discussion

Jan Wieck <jwieck@debis.com>

From: jwieck@debis.com (Jan Wieck)
To: dg@illustra.com (David Gould)
Cc: hannu@trust.ee, pgsql-hackers@hub.org, jwieck@debis.com
Date: 1998-03-16T07:39:22Z
Lists: 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) #