Re: How to access a table from one database to another

From: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
To: "VivekanandaSwamy R(dot)" <VivekanandaSwamyr(at)infics(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to access a table from one database to another
Date: 2006-07-15 05:47:31
Message-ID: 44B88173.9020201@amsoftwaredesign.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gregory S. Williamson 2006-07-15 05:49:23 Re: How to access a table from one database to another database
Previous Message John Purser 2006-07-15 05:18:20 Re: How to access a table from one database to another