--On Mittwoch, Februar 07, 2007 13:14:29 -0800 Jeff Frost 
<[EMAIL PROTECTED]> wrote:

> Do you think we could throw an error or a warning when slonik evaluates
> an  execute script that it thinks contains 0 lines? I've run into a
> problem twice  where slonik completed with success, but it didn't do
> anything because the sql  it was supposed to execute was in DOS mode.  A
> simple dos2unix fixed the  problem, but it's easy not to notice this if
> you're doing several execute  scripts at once.

This is related to an issue reported recently:

<http://gborg.postgresql.org/pipermail/slony1-general/2007-January/005679.html>

After rethinking this fix i noticed that it doesn't work: it counts _any_ 
remaining bytes in the current buffer as a query and breaks 
test-scanner....:(

I think at least a warning as Jeff proposed would be reasonable, but what 
should we do with silently undercutted queries as the mentioned issue 
reports?


-- 
  Thanks

                    Bernd
_______________________________________________
Slony1-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/slony1-general

Reply via email to