Would it be a good decision to use PDO instead of pg_ functions?
I don't see much benefits in using it, it just provides a common API naming scheme. It's maybe easier in case you work with a gazillion different DBMS and have trouble remembering function names, but that's it. On the other hand it locks you out from special API features / functions of PG. I wouldn't bother with it, especially not in your case.
Best regards, Hannes Dorbath ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend