Re: [GENERAL] PREPARE in bash scripts

2005-11-23 Thread Martijn van Oosterhout
On Wed, Nov 23, 2005 at 12:07:01PM +0100, A.j. Langereis wrote: > Dear Martijn, > > The problem with your solution is that the script is meant to process a > log-file real-time. > Therefore the insert should be done immediately, however it is the same > statement over and over agian, just with dif

Re: [GENERAL] PREPARE in bash scripts

2005-11-23 Thread A.j. Langereis
Dear Martijn, The problem with your solution is that the script is meant to process a log-file real-time. Therefore the insert should be done immediately, however it is the same statement over and over agian, just with different parameters i.e. an ideal case fore PREPARE. Yours, Aarjan Langereis

Re: [GENERAL] PREPARE in bash scripts

2005-11-23 Thread Martijn van Oosterhout
On Wed, Nov 23, 2005 at 10:38:03AM +0100, A.j. Langereis wrote: > Dear all, > > I've written a bash script that looks like the one below: > Note that this is very stripped version of the real script, but it gives the > same errors: > > ERROR: prepared statement "test_statement" does not exist