X-Original-To: pgsql-general@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 78F1947580B for ; Sun, 6 Apr 2003 21:33:56 -0400 (EDT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 064FF474E42 for ; Sun, 6 Apr 2003 21:33:51 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h371XY418279; Sun, 6 Apr 2003 21:33:34 -0400 (EDT) From: Bruce Momjian Message-Id: <200304070133.h371XY418279@candle.pha.pa.us> Subject: Re: PHP as PL In-Reply-To: <5.2.0.9.0.20030406132100.01b51758@127.0.0.1> To: Rod Kreisler Date: Sun, 6 Apr 2003 21:33:34 -0400 (EDT) Cc: Jan Wieck , pgsql-general@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, hits=-26.0 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/393 X-Sequence-Number: 40458 Rod Kreisler wrote: > At 01:15 PM 4/6/2003 -0400, Jan Wieck wrote: > >Bruce Momjian wrote: > > > > > > Rod Kreisler wrote: > > > > Does anyone know of an individual/group/whatever working on a project to > > > > allow PHP to be used as a PL for Postgres? > > > > > > No, never heard of one, but I think MySQL may have one. > > > >What? I heard their plan was to use perl for user defined functions a > >while back. At that time of course without server side data access > >inside the same transaction, but things might have changed. > > > >Anyhow, I think PHP as a procedural language inside PostgreSQL would > >make a lot of sense. It seems natural to use the same programming > >language when trying to split up the business logic between the middle > >tear layer (Apache/PHP) and the database. > > > > > >Jan > > When the first Zend Engine was released, Zeev (or Andi) mentioned that they > were is discussion with MySQL AB to have PHP as a PL for MySQL. Since > then, not a word. MySQL only mentions that they plan to have PL support in > v5 but no mention of what language that will use.... Yes, that is what I remember. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073