how to execute a function directly - Mailing list pgsql-interfaces

From Paul Tilles
Subject how to execute a function directly
Date
Msg-id 40E2BA4D.18C25CC0@noaa.gov
Whole thread Raw
Responses Re: how to execute a function directly  (Bruno Wolff III <bruno@wolff.to>)
List 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



pgsql-interfaces by date:

Previous
From: Lee Kindness
Date:
Subject: Embedded SQL timestamp Question (ECPG)
Next
From: "apellido jr., wilfredo p."
Date:
Subject: help !!!