pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Tilles <Paul.Tilles@noaa.gov>
To: interfaces <pgsql-interfaces@postgresql.org>
Subject: how to execute a function directly
Date: Wed, 30 Jun 2004 09:04:13 -0400
Message-ID: <40E2BA4D.18C25CC0@noaa.gov> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <40E2BA4D.18C25CC0@noaa.gov>
Permalink:  ../40E2BA4D.18C25CC0@noaa.gov/
Also on:    postgresql.org/message-id/40E2BA4D.18C25CC0@noaa.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: Paul.Tilles@noaa.gov
  Subject: Re: how to execute a function directly
  In-Reply-To: <40E2BA4D.18C25CC0@noaa.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox