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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-sql by date

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