X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 2395ED1B508 for ; Sat, 27 Sep 2003 00:27:50 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 56854-06 for ; Fri, 26 Sep 2003 21:27:42 -0300 (ADT) Received: from www.postgresql.com (unknown [64.117.225.209]) by svr1.postgresql.org (Postfix) with ESMTP id A5E33D1B4EE for ; Fri, 26 Sep 2003 21:27:39 -0300 (ADT) Received: by www.postgresql.com (Postfix, from userid 80) id 915F2CF4933; Fri, 26 Sep 2003 21:27:39 -0300 (ADT) To: pgsql-www@postgresql.org Subject: New News Entry Message-Id: <20030927002739.915F2CF4933@www.postgresql.com> Date: Fri, 26 Sep 2003 21:27:39 -0300 (ADT) From: www@www.postgresql.com (World Wide Web Owner) X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/112 X-Sequence-Number: 2580 A new entry has been added to the news database. Database Admin: http://www.postgresql.org/admin/edit_news.php?153 Submitted by: jd.nospam@commandprompt.com Headline: Beta 3 of plPHP released Summary: The 3rd beta of plPHP is now released with full support for triggers, trusted and untrusted modes. Story: PL/PHP is a loadable procedural language that enables you to write PostgreSQL functions in the PHP programming language. It currently supports triggers, trusted, and untrusted modes. It is the hope that this will be the last beta before RC status is achieved. New features include the ability to access trigger operations, e.g; $_TD[\"new\"] An associative array containing the values of the new table row for INSERT/UPDATE actions, or empty for DELETE. The array is indexed by field name. Fields that are NULL will not appear in the array! $_TD[\"old\"] An associative array containing the values of the old table row for UPDATE/DELETE actions, or empty for INSERT. The array is indexed by field name. Fields that are NULL will not appear in the array! $_TD[\"name\"] contains the trigger name. $_TD[\"event\"] contains the event as a string (INSERT, UPDATE, DELETE, or UNKNOWN). $_TD[\"when\"] contains one of BEFORE, AFTER, and UNKNOWN. $_TD[\"level\"] contains one of ROW, STATEMENT, and UNKNOWN. $_TD[\"relid\"] contains the relation ID of the table on which the trigger occurred. $_TD[\"relname\"] contains the relation name. $_TD[\"argc\"] contains the arguments count.