Re: Database Classes and prepared statements

From: John DeSoi <desoi(at)pgedit(dot)com>
To: G(dot) J(dot) Walsh <gjwalsh(at)dscdirectionalservices(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Database Classes and prepared statements
Date: 2008-03-19 04:36:01
Message-ID: AC007EC3-D6F7-4CB9-B960-A3C7ECA820C8@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


On Mar 18, 2008, at 6:25 PM, G. J. Walsh wrote:

> This will allow me to move on, but I was wondering about the use of
> prepared statements. Can this functionality be included in the class -
> that is I need a bit of a boost to incorporate the requisite
> pg_prepare
> and pg_execute functions.
>
> Assuming this is possible, could someone kindly show me some sample
> code
> to make it happen?

There is an example here on using a PHP class to call PostgreSQL
functions using prepared statements:

http://pgedit.com/resource/php/pgfuncall

John DeSoi, Ph.D.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message James Long 2008-03-19 05:41:19 Re: COPY doesn't like my dates on STDIN
Previous Message James Long 2008-03-19 03:31:41 COPY doesn't like my dates on STDIN