Re: "Installing" dbLink

From: Richard C <richardalancock(at)yahoo(dot)co(dot)uk>
To: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: "Installing" dbLink
Date: 2006-02-25 10:42:57
Message-ID: 20060225104257.98306.qmail@web25211.mail.ukl.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi. Thanks for the assistance. I have another question. Is it possible to install this function on Window XP?

"A. Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)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, 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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Florian Weimer 2006-02-25 14:17:41 Index to support LIKE '%suffix' queries
Previous Message Alexis Paul Bertolini 2006-02-25 09:26:53 Re: Obtaining client IP address