how to execute a function directly

From: Paul Tilles <Paul(dot)Tilles(at)noaa(dot)gov>
To: interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: how to execute a function directly
Date: 2004-06-30 13:04:13
Message-ID: 40E2BA4D.18C25CC0@noaa.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Is there any way to execute a postgresql function directly? In
Informix, there is an

EXECUTE PROCEDURE proc_name();

statement which will execute a Stored Procedure directly.

In postgresql, I can

SELECT function_name();

or

DELETE fucntion_name();

both of which will cause the function to be executed.

I was wondering if there is a more generic way to cause a function to be
executed.

Paul Tilles

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message apellido jr., wilfredo p. 2004-06-30 13:26:06 help !!!
Previous Message Lee Kindness 2004-06-30 11:30:36 Embedded SQL timestamp Question (ECPG)