Обсуждение: calling pl/pgsql stored procs from php

Поиск
Список
Период
Сортировка

calling pl/pgsql stored procs from php

От
Ebow Halm
Дата:
Can I call pl/pgsql stored procs from php?  I know you
can call oracle pl/sql stored procs and would assume
the same can be done for postgres.  Is that right?

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Re: calling pl/pgsql stored procs from php

От
"Gyozo Papp"
Дата:
Hello,

are you thinking of calling ie. my function (written in plpgsql) like

> pg_exec("SELECT my_function();"); <

AFAIK this is the only way you can call postgres functions
(written in any language).

----- Original Message -----
From: "Ebow Halm" <ehalmus@yahoo.com>
To: <pgsql-php@postgresql.org>
Sent: 2001. július 27. 05:21
Subject: [PHP] calling pl/pgsql stored procs from php


> Can I call pl/pgsql stored procs from php?  I know you
> can call oracle pl/sql stored procs and would assume
> the same can be done for postgres.  Is that right?
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org