Re: functions, shell script

From: Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: functions, shell script
Date: 2001-11-06 08:02:06
Message-ID: 4.2.0.58.20011106085942.00a7cca0@pop.freesurf.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


>Can anyone give me an example of postgresql function that will execute a
>shell script?
>I will call the function from a postgresql trigger.

You need to create an untrusted language which I never did until now.
For example, plpgsql functions are trusted, i.e. they cannot access the
file system.

I would be interested in knowing how to do it.
Maybe it is possible with plperl or pltcl.

Best regards,
Jean-Michel POURE

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Justin Clift 2001-11-06 08:05:25 Re: request for advise
Previous Message Jean-Michel POURE 2001-11-06 07:58:40 Re: [GENERAL] Use of Serial Datatype and Sequence Issue