Re: Schema and Namespace Oid confusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ZongtianHou <zongtianhou@xxxxxxxxxx> writes:
> First, what is the difference between namespace and schema?

None.

> Second, why the Oid of public namespace is 2200, the same between databases? Does oid is unique for every object across cluster? 

CREATE DATABASE physically clones the template database, so all objects
have the same OIDs they had in the template.  OID uniqueness is only
expected for objects within one database (and even then, only across
objects in the same system catalog), not across the whole cluster.

			regards, tom lane





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux