Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group