Re: How to access a table from one database to another - Mailing list pgsql-general

From Tony Caduto
Subject Re: How to access a table from one database to another
Date
Msg-id 44B88173.9020201@amsoftwaredesign.com
Whole thread Raw
In response to How to access a table from one database to another database  ("VivekanandaSwamy R." <VivekanandaSwamyr@infics.com>)
List pgsql-general
VivekanandaSwamy R. wrote:
>
> Hai all,
> I have 2 databases namee PAO and CAS.
> PAO contains 3 schemas named Public,pao,sts
> CAS contains 4 schemas named Public,cao,sts,reports
>
> Now  i am in PAO database..now i want access table 'activity' in
> schema 'cas' in CAS database.
> How it is posible.
>
> 2nd thing is...
>
> i have 2 servers access i.e local and mainserver.
>
> How access table from one server to another server?
>
> please tel me...because we need this one

This can be done with DBlink which is a contrib module.

see the FAQ item number 4.17 for more info
http://www.postgresql.org/docs/faqs.FAQ.html

--
Tony Caduto
http://www.amsoftwaredesign.com
Home of PG Lightning Admin for Postgresql 8.x


pgsql-general by date:

Previous
From: "Gregory S. Williamson"
Date:
Subject: Re: How to access a table from one database to another database
Next
From: "A. Kretschmer"
Date:
Subject: Re: How to access a table from one database to another database