Skip site navigation (1) Skip section navigation (2)

Re: invoke an external shell script from a function

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Chau, Artemis" <artemis(dot)chau(at)intel(dot)com>
Cc: "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: invoke an external shell script from a function
Date: 2000-09-29 16:31:27
Message-ID: Pine.LNX.4.21.0009291830250.363-100000@peter (view raw or flat)
Thread:
Lists: pgsql-sql
Chau, Artemis writes:

> Does anyone know how to invoke an external shell script from a function when
> it is called from a sql statement?

If it's a C function, use system("file").

-- 
Peter Eisentraut      peter_e(at)gmx(dot)net       http://yi.org/peter-e/


In response to

Responses

pgsql-sql by date

Next:From: Alessandro RossiDate: 2000-09-29 19:46:12
Subject: timestamp difference in hours? (fwd)
Previous:From: Chau, ArtemisDate: 2000-09-29 15:15:45
Subject: invoke an external shell script from a function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group