in reply to writing to and reading from fifo
I can get the writer to print the line to stdout but sqlloader just hangs.
Your code
doesn't print lines (unless there are line feeds embedded in $categories{$ky}), but you are using line oriented <STDIN> to read the data. That may lead to unexpected blocking.print $fifo "$categories{$ky}#";
Second, as far as I understand sqlldr, your command
will try to read data from the disk file "atp_fifo.dat". I don't see how that file is connected to the pipe output.
Anno
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: writing to and reading from fifo
by f00li5h (Chaplain) on Mar 26, 2007 at 10:15 UTC | |
by diomedea (Sexton) on Mar 26, 2007 at 11:10 UTC | |
by Anno (Deacon) on Mar 26, 2007 at 12:58 UTC |