PostgreSQL - No prepared statements?
Posted: February 1st, 2008, 10:54 am
Hello,
I was just testing Phalanger to see if it was viable to use for my website. So I'm not sure whether I'm simply doing something wrong.
I added to machine.config:
<add assembly="php_pgsql.mng, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="pgsql" />
Which does seem to have enabled PostgreSQL, as I connect and do some basic queries off of the database. However, when I tried a page that used a prepared statement, I got an error:
Error: pgprepare(): Call to undefined external function 'pgprepare', extension 'php_pgsql' (function not found).
Is this something that isn't yet fully implemented on your side, or do I need to do something to fix this?
Thank you,
Chris
I was just testing Phalanger to see if it was viable to use for my website. So I'm not sure whether I'm simply doing something wrong.
I added to machine.config:
<add assembly="php_pgsql.mng, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="pgsql" />
Which does seem to have enabled PostgreSQL, as I connect and do some basic queries off of the database. However, when I tried a page that used a prepared statement, I got an error:
Error: pgprepare(): Call to undefined external function 'pgprepare', extension 'php_pgsql' (function not found).
Is this something that isn't yet fully implemented on your side, or do I need to do something to fix this?
Thank you,
Chris