X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3E46BD1DD5D for ; Fri, 27 Feb 2004 01:22:39 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 73024-02 for ; Thu, 26 Feb 2004 21:22:33 -0400 (AST) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id AFAACD1E178 for ; Thu, 26 Feb 2004 21:22:27 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i1R1MSt22575; Thu, 26 Feb 2004 20:22:28 -0500 (EST) From: Bruce Momjian Message-Id: <200402270122.i1R1MSt22575@candle.pha.pa.us> Subject: plpython doc update In-Reply-To: <200402270017.51806.peter_e@gmx.net> To: Peter Eisentraut Date: Thu, 26 Feb 2004 20:22:28 -0500 (EST) Cc: PostgreSQL-documentation X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/33 X-Sequence-Number: 2288 Peter Eisentraut wrote: > Bruce Momjian wrote: > > I thought about that. The docs were pointing to an FAQ number that > > doesn't exit anymore, and there is text indicating sometimes the > > shared compile isn't needed, so I didn't want to hard-code a version > > number in case it wasn't significant aoyway. And if I say newer, it > > will be not-newer in a few years. :-) > > If you say "x or newer" then that will be true forever unless they take > it back out. We should also try to figure out a way for people to find > out how their python was compiled rather than making them compile a new > one. > > I would prefer to put more effort into giving people a procedure to > follow during PostgreSQL installation to verify the correct setup of > their system, rather than giving them a bunch of options to "try" when > they have unidentified "problems". I can confirm it was added in 2.3: http://www.python.org/doc/current/whatsnew/node20.html Docs updated: If you have problems, run Python 2.3 or later's configure using the --enable-shared flag. On some operating systems you don't have to build a shared library, but you will have to convince the PostgreSQL build system of this. Consult the Makefile in the src/pl/plpython directory for details. -- 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