Re: [GENERAL] Trouble connecting to database using PQconnectdb (C/libpq)

2010-01-16 Thread Joel Alpers
John R Pierce wrote: Now the trick will be to find a way to make them play well together -- I'll check the postgres site where they have discussions archived... you'll probably get more help from a selinux site or list. Yes, after I sent that reply I recalled that I was --on-- a postgr

Re: [GENERAL] Trouble connecting to database using PQconnectdb (C/libpq)

2010-01-16 Thread Joel Alpers
Tom Lane wrote: Joel Alpers writes: New system: Fedora 11, PostgreSQL 8.4 Fedora 11 enables selinux by default ... *** Error - Can't connect to database "photodb" - could not connect to server: Permission denied Is the server running on host &quo

[GENERAL] Trouble connecting to database using PQconnectdb (C/libpq)

2010-01-16 Thread Joel Alpers
Hello - I am working on moving my WEB pages, which include searches in a PostgreSQL data base, through "libpq". Old system: Red Hat Linux 9, PostgreSQL 7.4.6 New system: Fedora 11, PostgreSQL 8.4 When I re-compile the program (using updated gnu C++ compilers/libs), the new version --will--