X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 546139F9CEE for ; Thu, 18 May 2006 00:28:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 58940-10 for ; Thu, 18 May 2006 00:28:15 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 804FE9FA294 for ; Thu, 18 May 2006 00:28:16 -0300 (ADT) Received: from tetra.ehpg.net (tetra2.ehpg.net [65.19.161.8]) by svr4.postgresql.org (Postfix) with ESMTP id E37705B3768 for ; Thu, 18 May 2006 03:24:34 +0000 (GMT) Received: from dsl081-087-203.lax1.dsl.speakeasy.net ([64.81.87.203]) by tetra.ehpg.net with esmtpa (Exim 4.54) id 1FgZ7o-0006Ea-0J; Wed, 17 May 2006 20:24:32 -0700 In-Reply-To: <6C20598D-220C-4F1B-9C99-EEE6EC3676EF@pgedit.com> References: <6C20598D-220C-4F1B-9C99-EEE6EC3676EF@pgedit.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0935E143-DEDD-4EFC-AA99-0020FD37CE2F@ehpg.net> Cc: pgsql-php@postgresql.org, php-db ON DATABASE Content-Transfer-Encoding: 7bit From: "Gavin M. Roy" Subject: Re: PostgreSQL function call model for PHP Date: Wed, 17 May 2006 20:23:49 -0700 To: John DeSoi X-Mailer: Apple Mail (2.750) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/11 X-Sequence-Number: 3511 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