X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 44BC59DCA16 for ; Fri, 24 Feb 2006 08:43:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 15874-04 for ; Fri, 24 Feb 2006 08:43:51 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by postgresql.org (Postfix) with ESMTP id E8E859DCA3E for ; Fri, 24 Feb 2006 08:43:44 -0400 (AST) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1FCcIU4AOy-0008An; Fri, 24 Feb 2006 13:43:47 +0100 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1FCcIU-000814-00 for pgsql-sql@postgresql.org; Fri, 24 Feb 2006 13:43:46 +0100 Date: Fri, 24 Feb 2006 13:43:46 +0100 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: "Installing" dbLink Message-ID: <20060224124346.GL20718@webserv.wug-glas.de> Mail-Followup-To: "A. Kretschmer" , pgsql-sql@postgresql.org References: <20060224113013.F3A6F1B816B@mx1.hub.org> <20060224114844.29958.qmail@web25224.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060224114844.29958.qmail@web25224.mail.ukl.yahoo.com> X-DEST: 208 X-OS: Linux - weil ich es mir Wert bin! X-Info: registrierter Linux-User 97922 http://counter.li.org User-Agent: mutt-ng 1.5.9i (Linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:51ea9561fc3f6d9539a2acd743e4748c X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.474 required=5 tests=[AWL=0.474] X-Spam-Score: 0.474 X-Spam-Level: X-Archive-Number: 200602/294 X-Sequence-Number: 24304 am 24.02.2006, um 11:48:44 +0000 mailte Richard C folgendes: > Hi > > When I execute the query: > > SELECT * > FROM dblink('dbname=Bas','SELECT id FROM person') AS t(a int) > WHERE t.a > 9000 AND T.a < 9050; > > I receive the error message > > ERROR: function dblink("unknown", "unknown") does not exist > > How do I install or setup the function dbLink so that I can use this feature. You should read the docu. Which distribution do you have? You should install the contrib-package and then you should run the dblink.sql. psql your_database < dblink.sql After this, you can use dblink. HTH, Andreas -- Andreas Kretschmer (Kontakt: siehe Header) Heynitz: 035242/47215, D1: 0160/7141639 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net === Schollglas Unternehmensgruppe ===