From: | Siva Kumar <siva(at)leatherlink(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Cc: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
Subject: | Re: foreign key constraint across databases |
Date: | 2003-03-06 21:59:55 |
Message-ID: | 200303070329.55823.siva@leatherlink.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thursday 06 March 2003 10:20 pm, you wrote:
> On Thu, 6 Mar 2003, Siva Kumar wrote:
> > On Thursday 06 March 2003 11:17 am, Stephan Szabo wrote:
> > > On Thu, 6 Mar 2003, Siva Kumar wrote:
> > > > Is it possible to have a column in Table-2 of Database-B to have a
> > > > foreign key constraint referencing Table-1 of Database-A?
> > >
> > > Not using the straight foreign key support (you might be able to put
> > > something together using dblink in your own triggers, but it'd probably
> > > be more trouble than it's worth)
> >
> > That is disappointing. We really do need this feature for our
> > application. I
>
> What are you planning to use it for (ie, why separate databases rather
> than something like separate schemas)
Our application is used by different companies for their operation and will be
accessible over internet. We want to have separate databases for each company
and the application will interact with all the databases to enable
buyer-supplier relationships etc. With this we can offer local systems for
large companies which can synchronize with the central server periodically.
Basically we want to ensure that the data is owned by the concerned companies,
and in case they want to break away from our service, we just take out their
database and give to them.
As far as I understand having separate schema will not server our purpose. We
will have to look at other options now it seems.
Best regards,
Siva
--
Ma Siva Kumar,
BSG LeatherLink,
http://www.leatherlink.net/
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas T. Thai | 2003-03-06 22:13:27 | Tom Lane - Your email filters are blocking everything |
Previous Message | Kevin Brown | 2003-03-06 21:52:47 | Re: [HACKERS] problems with dropped columns |