Re: Major upgrade to ext/pgsql

From: Date: Thu, 17 Mar 2005 02:36:32 +0000
Subject: Re: Major upgrade to ext/pgsql
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-15470@lists.php.net to get a copy of this message
Why do we need pg_query_params. Isn't prepare/execute enough? pg_execute($conn, $stmt, $params) seem to be already taking care of the parameters passed. (btw. I wouldn't make $conn optional, it makes adding additional parameters later on pain).
Oh, if I didn't explain clearly the $stmt parameter to pg_execute is the NAME of a previous created prepared query, not the query itself. Chris

« previous php.internals (#15470) next »