Re: Calling Java from psql (was Re: requesting help) - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: Calling Java from psql (was Re: requesting help)
Date
Msg-id Pine.LNX.4.30.0103291857230.2091-100000@peter.localdomain
Whole thread Raw
In response to Calling Java from psql (was Re: requesting help)  (Mathijs Brands <mathijs@ilse.nl>)
Responses Re: Calling Java from psql (was Re: requesting help)
List pgsql-sql
A James Lewis writes:

> Before I go investigating this, is it possible to trigger an arbitrary
> program from the SQL, say a shell script?

At the lowest level, you can generally do anything a C program can do.
Writing the equivalent of system() in SQL should be rather trivial.

You can also take a look at my little toy project PL/sh:

http://www.postgresql.org/~petere/plsh.html

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-sql by date:

Previous
From: Phuong Ma
Date:
Subject: inconsistent functionality with LIKE operator
Next
From: Tom Lane
Date:
Subject: Re: inconsistent functionality with LIKE operator