Re: DB_link connection

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: DB_link connection
Date: 2015-11-16 10:39:06
Message-ID: 5649B24A.5050702@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/16/2015 2:31 AM, Sachin Srivastava wrote:
>
> Any one can help me how we can install "dblink_connect" in
> PostgreSQL9.4 on linux platform. If Possible, please provide the steps.

that is part of the 'contributed extension' dblink. the way you
install the contrib modules depends on your flavor of linux, AND how you
installed postgresql in the first place, for instance, on a RHEL system
where PG was installed from the yum.postgresql.org repository,

# yum install postgresql94-contrib

on a debian/ubuntu flavored postgres, it would be something involving
apt-get

once the contrib modules exist on the system, as a postgres superuser,
to intsall a specific contrib module, you need...

$ psql yourdb
....
yourdb=# create extension dblink;

and from now on, the dblink functions are available in that database.

--
john r pierce, recycling bits in santa cruz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2015-11-16 10:55:03 Re: referencing other INSERT VALUES columns inside the insert
Previous Message Sachin Srivastava 2015-11-16 10:31:42 DB_link connection