List,
        Has anyone built Functions (or Stored Procedures) in PostgreSQL that can 
return a dataset?  I would like to contain my login in PostgreSQL (like 
I did on M$-SQL) and call it from my PHP script (like I did with ASP).

Ex:
$rs = pg_exec($db, "someprocname")
while ($rec = pg_result_object($rs, $row)) {
        // Stuff
}

Now "someprocname" should be on my PostgreSQL server and containts a 
SELECT statement whos results I want to send back to PHP for the $rs 
var.  Has anyone got this working?  I've tried all kinds of good stuff 
but can't get it to happen...

TIA
/B


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to