support postgres detection of snaplen
Improve postgres recognition
Merge branch 'dev' into postgres
Merge branch 'postgres' into dev