Re: [HACKERS] Re: PL/PgSQL discussion

From: jwieck(at)debis(dot)com (Jan Wieck)
To: dg(at)illustra(dot)com (David Gould)
Cc: hannu(at)trust(dot)ee, pgsql-hackers(at)hub(dot)org, jwieck(at)debis(dot)com
Subject: Re: [HACKERS] Re: PL/PgSQL discussion
Date: 1998-03-16 07:39:22
Message-ID: m0yEUUU-000BFRC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Gould wrote:
>
> >
> > jwieck(at)debis(dot)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(at)debis(dot)com (Jan Wieck) #

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1998-03-16 07:56:58 Re: [QUESTIONS] Re: [HACKERS] text should be a blob field
Previous Message Jan Wieck 1998-03-16 07:28:38 Re: [HACKERS] Re: PL/PgSQL discussion