From richardalancock@yahoo.co.uk Fri Feb 24 11:48:45 2006 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 6CFCE9DC821 for ; Fri, 24 Feb 2006 07:48:45 -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 07323-05 for ; Fri, 24 Feb 2006 07:48:47 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from web25224.mail.ukl.yahoo.com (web25224.mail.ukl.yahoo.com [217.146.176.210]) by postgresql.org (Postfix) with SMTP id 6B3B79DC9AD for ; Fri, 24 Feb 2006 07:48:42 -0400 (AST) Received: (qmail 29960 invoked by uid 60001); 24 Feb 2006 11:48:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TYzVvM8oQ4khRLma9/lRHCz2HYaAMlUwMoZuXC2eX647A3vekH4rKc/15LW3K9olmtsDrnxv+xZYMqJeH1XsJS9zuivN0i7NTwcAz03CzYhvb3ekjfUNAVknbRFPPVLdr1QHbiJY39BqGvO+ckit5u6Yt2DohmuKfjgL2W4uoq8= ; Message-ID: <20060224114844.29958.qmail@web25224.mail.ukl.yahoo.com> Received: from [66.36.196.202] by web25224.mail.ukl.yahoo.com via HTTP; Fri, 24 Feb 2006 11:48:44 GMT Date: Fri, 24 Feb 2006 11:48:44 +0000 (GMT) From: Richard C Subject: "Installing" dbLink To: pgsql-sql@postgresql.org In-Reply-To: <20060224113013.F3A6F1B816B@mx1.hub.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1931560944-1140781724=:29625" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.48 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479, HTML_MESSAGE=0.001] X-Spam-Score: 0.48 X-Spam-Level: X-Archive-Number: 200602/293 X-Sequence-Number: 24303 --0-1931560944-1140781724=:29625 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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. Regards Richard --------------------------------- Win a BlackBerry device from O2 with Yahoo!. Enter now. --0-1931560944-1140781724=:29625 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
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.
 
Regards
Richard


Win a BlackBerry device from O2 with Yahoo!. Enter now. --0-1931560944-1140781724=:29625-- From andreas.kretschmer@schollglas.com Fri Feb 24 12:43:49 2006 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 === From richardalancock@yahoo.co.uk Sat Feb 25 10:42:59 2006 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 2E7639DC81F for ; Sat, 25 Feb 2006 06:42:59 -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 55455-01 for ; Sat, 25 Feb 2006 06:43:00 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from web25211.mail.ukl.yahoo.com (web25211.mail.ukl.yahoo.com [217.12.10.71]) by postgresql.org (Postfix) with SMTP id E19BF9DC819 for ; Sat, 25 Feb 2006 06:42:55 -0400 (AST) Received: (qmail 98308 invoked by uid 60001); 25 Feb 2006 10:42:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SzBCxxvvk0ku+nHudKxpJSRV+opdyIRLNraQUrDFesbUKrhix+6YO4Oe9BD0957oNmKgQp4RgE+UpFafwOFsZ3NFWIAKQI1wZVfCHLtB3qQ2K/WKj+LWSAO0JJ56015muGndDRPaymORYLnc6QlKVI3CFzO3NS6HYeRFgkFnqUE= ; Message-ID: <20060225104257.98306.qmail@web25211.mail.ukl.yahoo.com> Received: from [66.36.196.202] by web25211.mail.ukl.yahoo.com via HTTP; Sat, 25 Feb 2006 10:42:57 GMT Date: Sat, 25 Feb 2006 10:42:57 +0000 (GMT) From: Richard C Subject: Re: "Installing" dbLink To: "A. Kretschmer" , pgsql-sql@postgresql.org In-Reply-To: <20060224124346.GL20718@webserv.wug-glas.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1188027837-1140864177=:97458" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.48 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479, HTML_MESSAGE=0.001] X-Spam-Score: 0.48 X-Spam-Level: X-Archive-Number: 200602/312 X-Sequence-Number: 24322 --0-1188027837-1140864177=:97458 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi. Thanks for the assistance. I have another question. Is it possible to install this function on Window XP? "A. Kretschmer" wrote: 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 === ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org --------------------------------- Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo. --0-1188027837-1140864177=:97458 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi. Thanks for the assistance. I have another question. Is it possible to install this function on Window XP?

"A. Kretschmer" <andreas.kretschmer@schollglas.com> wrote:
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, y ou 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 ===

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org


Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo. --0-1188027837-1140864177=:97458--