From: Shavais Z. <sh...@gm...> - 2012-10-17 03:09:44
|
I've been trying to get the php pdo driver for postgres (php extension pdo_pgsql.so) to work with postgres-xc today, so far with no luck. It seems to give me a valid connection, but when I try to use $conn->query($sql) or $stmt = $conn->prepare(..) .. $stmt->execute(), no exceptions are thrown, even for obviously incorrect sql, and no results are fetchable even for trivial sql. From the terminal, psql is working fine, I can connect and run sql statements and so on, so it seems like the cluster is operating and so forth. Is pdo_pgsql.so working for you guys? |