X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id F3BD8D1B508; Sat, 20 Sep 2003 22:29:37 +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 40141-09; Sat, 20 Sep 2003 19:29:27 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id E7DC4D1B50F; Sat, 20 Sep 2003 19:29:26 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h8KMT1iP029971; Sat, 20 Sep 2003 18:29:01 -0400 (EDT) To: Mike Mascari Cc: Richard Huxton , newsy@lewczuk.com, Lista dyskusyjna pgsql-php , Lista dyskusyjna pgsql-general Subject: Re: PG + PHP, was Re: Zend survey result about dbms... In-reply-to: <3F6CD248.8040006@mascari.com> References: <000501c37e9e$0ecffc70$4701a8c0@marek> <20022.1063984707@sss.pgh.pa.us> <200309201248.54484.dev@archonet.com> <23474.1064069400@sss.pgh.pa.us> <3F6CD248.8040006@mascari.com> Comments: In-reply-to Mike Mascari message dated "Sat, 20 Sep 2003 18:18:48 -0400" Date: Sat, 20 Sep 2003 18:29:01 -0400 Message-ID: <29970.1064096941@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/1397 X-Sequence-Number: 49616 Mike Mascari writes: > In the past, one hack would be to use setenv() and getenv() of the > backend to implement these functions. What about a contrib module that: Uh, what exactly does it buy you to involve an environment variable in this process? I think it just adds fragility. (For example, exposing setenv to the user creates the risk that he'll overwrite something of importance, like PATH.) regards, tom lane