pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: scott.marlowe <scott.marlowe@ihs.com>
To: Aldo Leyva Alvarado <aleyva@medifarma.com.pe>
Cc: brew@theMode.com
Cc: pgsql-php@postgresql.org
Subject: Re: FUNCTIONS
Date: Wed, 17 Mar 2004 09:22:05 -0700 (MST)
Message-ID: <Pine.LNX.4.33.0403170920440.10668-100000@css120.ihs.com> (raw)
In-Reply-To: <002d01c40b9f$f59784f0$3c0000c0@pegasus>

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@theMode.com>
> To: <aleyva@medifarma.com.pe>
> Cc: <pgsql-php@postgresql.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@postgresql.org
> 




view thread (9+ messages)  latest in thread

Message-ID: <Pine.LNX.4.33.0403170920440.10668-100000@css120.ihs.com>
Permalink:  ../Pine.LNX.4.33.0403170920440.10668-100000@css120.ihs.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0403170920440.10668-100000@css120.ihs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: scott.marlowe@ihs.com, aleyva@medifarma.com.pe, brew@theMode.com
  Subject: Re: FUNCTIONS
  In-Reply-To: <Pine.LNX.4.33.0403170920440.10668-100000@css120.ihs.com>
  References: <002d01c40b9f$f59784f0$3c0000c0@pegasus> <Pine.LNX.4.33.0403170920440.10668-100000@css120.ihs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox