mod_log_sql: Time for me to join this century and look more seriously at this.

pgLOGd: Looks like mod_log_sql only supports MySQL. A few minutes of searching revealed pgLOGd, which sucks Apache logs into a PostgreSQL database.