fedora-infra/datanommer — pull request #70 by ralphbean (2014-05-29 01:32:30+00:00)
Title: Cut down on the number of queries.

For the first insert, there are 7 sql statements. They are:
- check if the user exists
- create the user
- check if the package exists
- create the package
- create the message
- associate the message with the user
- associate the message with the package

Then, for the second insert, there are 3 more sql statements:
- create the message
- associate the message with the user
- associate the message with the package

Should hopefully be an improvement.