pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feeddbLink Query
2+ messages / 2 participants
[nested] [flat]
* dbLink Query
@ 2006-02-24 11:29 Richard C <richardalancock@yahoo.co.uk>
0 siblings, 1 reply; 2+ messages in thread
From: Richard C @ 2006-02-24 11:29 UTC (permalink / raw)
To: pgsql-sql-owner@postgresql.org
Hi
When I execute the query:
SELECT *
FROM dblink('dbname=Bas','SELECT id FROM person') AS t(a int)
WHERE t.id > 9000 AND T.ID < 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
---------------------------------
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: dbLink Query
@ 2006-03-10 13:12 Markus Schaber <schabi@logix-tt.com>
parent: Richard C <richardalancock@yahoo.co.uk>
0 siblings, 0 replies; 2+ messages in thread
From: Markus Schaber @ 2006-03-10 13:12 UTC (permalink / raw)
To: Richard C <richardalancock@yahoo.co.uk>; +Cc: pgsql-sql
Hi, Richard,
Richard C wrote:
> How do I install or setup the function dbLink so that I can use this
> feature.
In your PostgreSQL installation, there should be a contrib directory,
that contains a file dblink.sql - execute it via psql against your
database, and it installs the function definitions.
On my debian machine, it is under:
/usr/share/postgresql/7.4/contrib/dblink.sql
/usr/share/postgresql/8.1/contrib/dblink.sql
HTH,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-03-10 13:12 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-02-24 11:29 dbLink Query Richard C <richardalancock@yahoo.co.uk>
2006-03-10 13:12 ` Markus Schaber <schabi@logix-tt.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox