Hi, It seems that 1024 byte buffer in conffile.c is too small for a long sql query in sql.conf. The default queries are ok but they are very close to the limit. I had to increase the size of all buffers from 1024 to 2048 in conffile.c as I encountered a problem when I added extra items in the query. Regards, Peter