Re: [GENERAL] More probs with BLOBs

2012-08-16 Thread Albe Laurenz
Neanderthelle Jones wrote: > We are getting a strange thing happening if the lo_export(attr, path) > destination is a fifo. > > First, in the normal case, there is output to the file but also > feedback to stdout (or somewhere, appearing on the VT screen) of the > number 1. > > --- >

Re: [GENERAL] More probs with BLOBs

2012-08-15 Thread Neanderthelle Jones
On Wed, 15 Aug 2012, Neanderthelle Jones wrote: > So it seems to us that the lo_export output can't be piped (via a > named pipe) to another process that reads from the pipe and expects > the valid BLOB contents. I should have said that the BLOB is a PDF and the file that results from cat fifo >m

[GENERAL] More probs with BLOBs

2012-08-15 Thread Neanderthelle Jones
We are getting a strange thing happening if the lo_export(attr, path) destination is a fifo. First, in the normal case, there is output to the file but also feedback to stdout (or somewhere, appearing on the VT screen) of the number 1. --- 1 (1 row) Now, if the destination file