Обсуждение: PostgreSQL function call model for PHP
A short article on using a class to call PostgreSQL functions: http://pgedit.com/resource/php/pgfuncall Comments and suggestions welcome! John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL
Very nice, you should note it's for PHP5 so you don't confuse those who've not made it out of PHP4 land. Might I suggest you also look at a demo using PDO_PGSQL? Not that it would be much different. Thanks for the good article! Gavin On May 17, 2006, at 8:03 PM, John DeSoi wrote: > A short article on using a class to call PostgreSQL functions: > > http://pgedit.com/resource/php/pgfuncall > > Comments and suggestions welcome! > > > John DeSoi, Ph.D. > http://pgedit.com/ > Power Tools for PostgreSQL > > > ---------------------------(end of > broadcast)--------------------------- > TIP 6: explain analyze is your friend
Doh, I skipped right over your disclaimer about 5.1 and went straight for the code... Ignore that comment! Sorry, Gavin On May 17, 2006, at 8:03 PM, John DeSoi wrote: > A short article on using a class to call PostgreSQL functions: > > http://pgedit.com/resource/php/pgfuncall > > Comments and suggestions welcome! > > > John DeSoi, Ph.D. > http://pgedit.com/ > Power Tools for PostgreSQL > > > ---------------------------(end of > broadcast)--------------------------- > TIP 6: explain analyze is your friend