Re: FUNCTIONS

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Aldo Leyva Alvarado <aleyva(at)medifarma(dot)com(dot)pe>
Cc: <brew(at)theMode(dot)com>, <pgsql-php(at)postgresql(dot)org>
Subject: Re: FUNCTIONS
Date: 2004-03-17 16:22:05
Message-ID: Pine.LNX.4.33.0403170920440.10668-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

In Postgresql, a stored procedure is created using a user defined
function, and accessed with something simple like:

select myfunc('arg1','arg2');

So, it's just another select statement to PHP/Postgresql. You don't have
to do anything fancy to hit a stored procedure.

On Tue, 16 Mar 2004, Aldo Leyva Alvarado wrote:

> Thanks,
> but I talked about to STORE PROCEDURE.
>
>
> Aldo Leyva
>
> ----- Original Message -----
> From: <brew(at)theMode(dot)com>
> To: <aleyva(at)medifarma(dot)com(dot)pe>
> Cc: <pgsql-php(at)postgresql(dot)org>
> Sent: Monday, March 15, 2004 10:33 PM
> Subject: Re: [PHP] FUNCTIONS
>
>
> >
> > Aldo......
> >
> > > Can you tell me how many functions supports POSTGRES?
> >
> > I'm not going to count them, but you can total them up and read all about
> > them in Chapter LXXXIV of the php manual, entitled PostgreSQL Functions.
> > The url is:
> >
> > http://us4.php.net/manual/en/ref.pgsql.php
> >
> > Or another of the mirrors.
> >
> > brew
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://archives.postgresql.org
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message David Costa 2004-03-17 20:21:56 Query Problem
Previous Message Aldo Leyva Alvarado 2004-03-16 21:45:08 Re: FUNCTIONS