On 15 Nov 2013, at 9:23am, Luís Simão <l...@portugalmail.com> wrote:

> Not sure if it helps, but you could try
> 
>    sqlite3 somedb '.import /dev/stdin hugetable' < huge.file
> 
> making OS handle file reading instead of another process (cat).

If the source really is a file then the right way to do it is

sqlite3 somedb '.import huge.file hugetable'

and if that results in an error the error message should be more accurate and 
useful.  If something goes wrong with 'stdin' then it's hard for a program to 
know what happened.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to