[unixODBC-support] iSQL hangs when query has completed

Nick Gorham nick at lurcher.org
Fri Feb 25 16:27:17 GMT 2011


On 25/02/11 16:17, Paul Nittel wrote:
> Hi -
>
> I'm using iSQL to test a particular use of the PostgreSQL-ODBC driver. Interactively it works just fine. If I try to run it in a non-interactive mode, it hangs and never exits.
>
> Here's how I'm invoking iSQL:
>
> isql otest pnittel password -b<  ~/testing/OdbcTesting/odbcquery.sql>  ActRes.txt
>
> odbcquery.sql contains:
> SELECT * FROM PartsIsParts
>
> quit
>
> I'm running this on Fedora 14.
>
> Any clues are greatly appreciated.
>

Try a blank line at the end. Empty line exits isql.

-- 
Nick


More information about the unixODBC-support mailing list