Re: Calling a function within a function - plpsql - Mailing list pgsql-novice

From Tom Lane
Subject Re: Calling a function within a function - plpsql
Date
Msg-id 28670.1064520613@sss.pgh.pa.us
Whole thread Raw
In response to Calling a function within a function - plpsql  (Godshall Michael <Michael_Godshall@gmachs.com>)
List pgsql-novice
Godshall Michael <Michael_Godshall@gmachs.com> writes:
> I have created a function(a) that within this function(a) another
> function(b) is called.  When I execute function(a) I am getting a syntax
> error near ; message.
> When I comment out the line of code that calls function(b) then function(a)
> works fine.
> When I execute function(b) on its own function(b) works fine.

> Does psql support a function calling other functions?

Certainly.  You're making some syntax error or other, but since you've
not shown us your code, we cannot help much.

            regards, tom lane

pgsql-novice by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Backing Up a Postgres database...
Next
From:
Date:
Subject: Re: Concurrency control