Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 7B98F1337B77 for ; Mon, 13 Dec 2010 14:16:30 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 20597-09 for ; Mon, 13 Dec 2010 18:16:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd-17937.dedibox.fr (sd-17937.dedibox.fr [88.191.100.74]) by mail.postgresql.org (Postfix) with ESMTP id 394A61337B71 for ; Mon, 13 Dec 2010 14:16:22 -0400 (AST) Received: from [192.168.10.2] (ASte-Genev-Bois-153-1-83-210.w81-48.abo.wanadoo.fr [81.48.33.210]) by sd-17937.dedibox.fr (Postfix) with ESMTPA id 99DE23B8F5; Mon, 13 Dec 2010 19:16:21 +0100 (CET) Message-ID: <4D0662F4.9090408@lelarge.info> Date: Mon, 13 Dec 2010 19:16:20 +0100 From: Guillaume Lelarge User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); fr; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Fred Parkinson CC: pgsql-admin@postgresql.org Subject: Re: adminpack installed? References: <4D05E73C020000A700015208@gwia1.abag.ca.gov> In-Reply-To: <4D05E73C020000A700015208@gwia1.abag.ca.gov> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201012/97 X-Sequence-Number: 36326 Le 13/12/2010 18:28, Fred Parkinson a écrit : > New to managing postgresql, I hope my questions are not a burden to this group, but I have another. > > I have installed version 8.4.5 of postgresql, 1.12.1 of pgadmin3. > > When I invoke pgadmin3 from a terminal prompt I get the message that > "The server lacks instrumentation functions....adminpack is installed and activated by default...is included as a contrib module with all versions of PostgreSQL 8.2 and above...copy the appropriate adminpack source code ..." > With special parameters then, because you only have this message when you launch the server status window. > Yet adminpack.sql already exists in /contrib and according to the message, is activated by default in 8.4.5. > You need to read the complete message: "The adminpack is installed and activated by default *if you are running the 'official' pgInstaller distribution of PostgreSQL for Windows*". Which, BTW, should say the onclick installer. Will fix this. Anyway, as you use Yast, I suppose the server is not installed on a Windows box :) > I installed postgresql using Yast, set PGLIB and PGDATA by hand, changed ownership to postgres and ran initdb to initialize it. > (I don't recall if I downloaded pgadmin3 from postgresql.org or used Yast to install it. In Yast the version number of pgadmin3 is in red (?), so maybe I downloaded it by hand.) > > Do I need to do something to tell the system adminpack is already available, or something else? > Sure. You need to execute the adminpack.sql file in the postgres database. This is automatically done with the Windows installer because it also installs pgAdmin3. But you need to do it yourself on Linux. -- Guillaume http://www.postgresql.fr http://dalibo.com