Обсуждение: "Installing" dbLink
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;
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.
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 ===
Hi. Thanks for the assistance. I have another question. Is it possible to install this function on Window XP?<br /><br
/><b><i>"A.Kretschmer" <andreas.kretschmer@schollglas.com></i></b> wrote: <blockquote class="replbq"
style="PADDING-LEFT:5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">am 24.02.2006, um 11:48:44 +0000 mailte
RichardC folgendes:<br />> Hi<br />> <br />> When I execute the query: <br />> <br />> SELECT *<br
/>>FROM dblink('dbname=Bas','SELECT id FROM person') AS t(a int)<br />> WHERE t.a > 9000 AND T.a < 9050;<br
/>><br />> I receive the error message<br />> <br />> ERROR: function dblink("unknown", "unknown") does not
exist<br/>> <br />> How do I install or setup the function dbLink so that I can use this feature.<br /><br />You
shouldread the docu.<br /><br />Which distribution do you have? You should install the contrib-package<br />and then
youshould run the dblink.sql.<br /><br />psql your_database < dblink.sql<br /><br />After this, y ou can use
dblink.<br/><br /><br /><br />HTH, Andreas<br />-- <br />Andreas Kretschmer (Kontakt: siehe Header)<br />Heynitz:
035242/47215,D1: 0160/7141639<br />GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net<br />=== Schollglas Unternehmensgruppe
===<br /><br />---------------------------(end of broadcast)---------------------------<br />TIP 4: Have you searched
ourlist archives?<br /><br />http://archives.postgresql.org<br /></blockquote><br /><p><hr size="1" /><font
face="Arial"size="2"><a
href="http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http://uk.photos.yahoo.com/"><b>Yahoo!Photos</b></a>
<fontcolor="red">NEW</font>, now offering a <a
href="http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http://uk.photos.yahoo.com/">qualityprint service</a>
fromjust 8p a photo.</font>