Re: [SQL] user function and bind

2010-05-19 Thread Gary Chambers
David, > I need an example how to write user function with columns binding and how to > use it on PHP If I'm understanding your request correctly: $dbh = pgpconnect("dbname=db host=dbhost user=dbuser password=pw"); $query = 'SELECT * FROM table WHERE x=$1 AND y=$2 AND z=$3'; $stmt = pg_query_par

Re: [SQL] user function and bind

2010-05-19 Thread Justin Graf
On 5/19/2010 9:56 AM, David Harel wrote: > Hi, > I need an example how to write user function with columns binding and > how to use it on PHP > -- > Thanks. > I'm not sure i understand your question. You want a function to return record type correct?? All legitimate Magwerks Cor