Re: dblinks - Mailing list pgsql-sql

From Dave Page
Subject Re: dblinks
Date
Msg-id 937d27e10805190122j4b730148vdc1da2a859389ec1@mail.gmail.com
Whole thread Raw
In response to Re: dblinks  ("Ramasubramanian G" <ramasubramanian.g@renaissance-it.com>)
List pgsql-sql
On Mon, May 19, 2008 at 4:06 AM, Ramasubramanian G
<ramasubramanian.g@renaissance-it.com> wrote:
> HI Sumaya,
>
>             This is the way you have to use dblink. And one more think. To
> excute this query you nedd to have dblink functions installed in your
> database schema.
>
> select * from dblink('YOUR_DB_LINK_NAME','select * from mytable')as
> tmp(column1 datatype,column2 datatype.....)

The OP was using EnterpriseDB's Postgres Plus Advanced Server, which
has Oracle-style dblinks built in. They are not used in the same way
as the PostgreSQL dblink module.

-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com


pgsql-sql by date:

Previous
From: "Ramasubramanian G"
Date:
Subject: Re: dblinks
Next
From: Bryce Nesbitt
Date:
Subject: Supplying a default on read, if a column does not exist in DB