How to retrieve the output of an external program? - Mailing list pgsql-novice

From Jean-Yves F. Barbier
Subject How to retrieve the output of an external program?
Date
Msg-id 20120108182924.2d9131fb@anubis.defcon1
Whole thread Raw
Responses Re: How to retrieve the output of an external program?  (Michael Wood <esiotrot@gmail.com>)
List pgsql-novice
Hi list & happy easter,

What I'd like to be able to do is:
* Run a function that sends parms to an external pgm [no PB],
* Capture the external pgm output that normally goes to stdout.

Is it possible directly or am I obliged to use a temporary file
and retrieve it from my function?

JY
--
                printk("ufs_read_super: fucking Sun blows me\n");
        -- /usr/src/linux/fs/ufs/ufs_super.c

pgsql-novice by date:

Previous
From: "Birchall, Austen"
Date:
Subject: Re: Removal of WAL logs
Next
From: Michael Wood
Date:
Subject: Re: How to retrieve the output of an external program?