Re: [HACKERS] Shared tables - Mailing list pgsql-hackers

From Brandon Ibach
Subject Re: [HACKERS] Shared tables
Date
Msg-id 199802171002.EAA06219@vweb.infomansol.com
Whole thread Raw
In response to Re: [HACKERS] Shared tables  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
Thomas G. Lockhart said:
>
> >    Do we have a way, at the moment, supported or otherwise, to "share"
> > tables across multiple databases?  For instance, some of the catalogs
> > are the same from one database to another, but could I create a new
> > table and share it (and possibly some indexes on it) between more than
> > one database?
>
> No, that is not directly supported by the backend. You might be able to
> do some trickery using soft links...
>
> Also, I've been thinking about what it would take to allow the backend to
> connect to another backend as a client. 'Course, I don't know much about
> it, but it would be neat to be able to do...
>
   Sounds interesting... :)  As for table sharing, I could do hard or
soft links, but the question is, would that create the potential for
Postgres corrupting things, given that it isn't wise to the situation,
and could therefore defeat its own locking mechanisms?  Of course,
this would probably just be a read-only table (just some data I'd like
to have access to from multiple databases), so I could probably get
away with just creating the links.  Anybody have a reason against
this?

-Brandon :)

pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SARZ
Date:
Subject: Re: Subselects open issue Nr. NEW
Next
From: "Vadim B. Mikheev"
Date:
Subject: Re: [HACKERS] Re: [QUESTIONS] trouble grouping rows