And if you ask questions here, there are several of us on this board who know it intimately.
It's just like using any other database for the most part. Just substitute pg_query for dbnamehere_query and go.
There's a pretty good book, translated from German in English, called PHPand Postgresql Advanced Web Programming that's pretty good. Got a few more typos, owing to the translation and all, but still a solid book.