even more PDO stuff

(I need more creative commit messages, this will not be the last
 PDO commit.)