I just started using postgres. I have been using it mostly with PHP. I would like to use C++ to access the database, but I couldn't find any example c++ connection files. Do you have to link the file to a library? do you just include header files? which ones? Also, is there any good documentation on foreign key usage w/ PG? I looked on the site docs, but didn't see any and I was surprised. PG does support foreign keys right? Thanks, Jeff Davis ************