Have you read
http://www.postgresql.org/docs/8.2/static/tutorial.html
??
If there are specific parts in there that are unclear or missing I'msure the developers would be happy to know.
-Doug