Add debugging level 4 to sql_exec
No need to obtain any exclusive lock for pkg fetch

This allows to run pkg fetch as a user

Fixes:	#553