Ron Johnson <[email protected]> writes:
> Why doesn't the shared OID space make cross-database queries possible?
OIDs are not guaranteed unique across databases. To make this work
transparently, we'd have to change all internal APIs to use database
OID + object OID, not just object OID, as object identifiers. That
would be horrendously invasive, not to mention probably costly in
performance (by doubling the width of cache keys, for instance).
But totally independently of implementation considerations, it's not
apparent to me that this would be a good idea. As Frank mentioned,
Postgres has always treated databases as isolation boundaries.
Changing that would probably break a lot of peoples' installation
designs.
regards, tom lane