plpgsql

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: pgsql-general(at)postgresql(dot)org
Subject: plpgsql
Date: 2003-10-18 21:48:10
Message-ID: 200310181848.10063.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

We are trying to make some things work with plpgsql. The problem is that I
built several functions that call one another, and I thought that the way of
calling it was just making the assign:

var:=func1(arg1,arg2);

which gave me an error near ")".

Now if I did the same, but like this:

PERFORM ''SELECT func1(arg1,arg2)'';

it didn't give the error anymore. The problem was that the other function
(func1()) aparently didn't get executed (logs stop at the PERFORM).

Am I doing something wrong?

--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-----------------------------------------------------------------
Martín Marqués | mmarques(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA | Centro de Telemática
Universidad Nacional
del Litoral
-----------------------------------------------------------------

Responses

  • Re: plpgsql at 2003-10-19 21:25:57 from Alvaro Herrera
  • Re: plpgsql at 2003-10-20 06:34:17 from Pavel Stehule

Browse pgsql-general by date

  From Date Subject
Next Message culley harrelson 2003-10-19 00:28:00 convert string function and built-in conversions
Previous Message Alvaro Herrera 2003-10-18 20:11:44 Re: 7.4b4 domain usage and select question