Hey Sven, digging through the SQL scripts i've just noticed something bad: primary keys of default PostgreSQL tables v2-v5 are just missing the 'vlan' field (while it correctly appears in equivalent MySQL/SQLite 3.x schemas). This may explain the slowness. To verify this, can you please modify the script, place the 'vlan' field inside the primary key (between mac_dst and ip_src), create the default table again and see whether everything now works correctly ? Surprised that we have not caught this before. Let me know.
Cheers, Paolo
