Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 5D67DB5DBEA for ; Mon, 22 Aug 2011 11:39:00 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 42156-06 for ; Mon, 22 Aug 2011 14:38:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yw0-f46.google.com (mail-yw0-f46.google.com [209.85.213.46]) by mail.postgresql.org (Postfix) with ESMTP id DD337B5DBC6 for ; Mon, 22 Aug 2011 11:38:53 -0300 (ADT) Received: by mail-yw0-f46.google.com with SMTP id 7so3542869ywf.19 for ; Mon, 22 Aug 2011 07:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=M+0X+Dodm8VVj0v9v8fpN5zng8RWpagGSbzWMisddkg=; b=K0OokwKJdU0huxHiLpAkPPjjhxO0Gukhn7lGSEjP/W2gLQ0kie+zJXuJlKQqoHTsLt fiQLYb2XHKCRU422Qk4YF7ZiQyxRMiDGWl0hWlndoeCgvb5LHgC8btaKaddKazt04+2A FtJWaa7Npz58TJgTFSM2kjqISNh4un0lzCnps= Received: by 10.101.44.4 with SMTP id w4mr2352240anj.108.1314023934437; Mon, 22 Aug 2011 07:38:54 -0700 (PDT) Received: from tucker.localnet (c-24-17-164-54.hsd1.wa.comcast.net [24.17.164.54]) by mx.google.com with ESMTPS id j30sm5281281ann.48.2011.08.22.07.38.52 (version=SSLv3 cipher=OTHER); Mon, 22 Aug 2011 07:38:53 -0700 (PDT) From: Adrian Klaver To: c k Subject: Re: postgresql server crash on windows 7 when using plpython Date: Mon, 22 Aug 2011 07:38:50 -0700 User-Agent: KMail/1.13.5 (Linux/2.6.32-33-generic; KDE/4.4.5; i686; ; ) Cc: Craig Ringer , pgsql-general@postgresql.org References: <201108131207.29441.adrian.klaver@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201108220738.50556.adrian.klaver@gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001 X-Spam-Level: X-Archive-Number: 201108/716 X-Sequence-Number: 178998 On Monday, August 22, 2011 7:24:30 am c k wrote: > No i didn't removed any thing. Only I have installed python 2.6. And then > tried to create plpythonu. It got created, but when tries to execute > already mentioned function server crashes. > > I didn't have any clue. My guess is this is the clue: "First I installed python 2.7 and then added python installation path to windows PATH variable. ..." It is very possible you have a version cross reference going on. In other words pl/pythonu is being compiled against one version of Python, but run against another. If it is possible I would remove the Python 2.7 installation or at least the references to it and then recompile pl/pythonu. > > Thanks and regards. > > Chaitany Kulkarni > -- Adrian Klaver adrian.klaver@gmail.com