rhj4,
I have successfully used Pg and PGAdmin on various different windows for a couple of years without issue. I also have never used
Pg - it was last updated 11 years ago. I don't know what issue you are having with PGAdmin but I am quite sure your issue with your code are that you are not using
DBD::Pg. I don't want to knock C# but my guess is that if the project had been kept up to date, it would probably not be necessary to migrate now.