Re: Calling Java from psql (was Re: requesting help)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: A James Lewis <james(at)fsck(dot)co(dot)uk>
Cc: Peter Mount <peter(at)retep(dot)org(dot)uk>, Mathijs Brands <mathijs(at)ilse(dot)nl>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Calling Java from psql (was Re: requesting help)
Date: 2001-03-29 16:59:00
Message-ID: Pine.LNX.4.30.0103291857230.2091-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message will trillich 2001-03-29 17:07:50 Re: inconsistent functionality with LIKE operator
Previous Message Cedar Cox 2001-03-29 16:48:30 Re: Escaping \