Skip to content

Commit

Permalink
update sql docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzhao committed Aug 6, 2024
1 parent 93cee8f commit e682340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/postgresql/03.体系架构.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ postgres=# SELECT oid,datname,datdba,encoding FROM pg_database;



**在pg中,oid用来在整个数据集簇中==唯一标识==一个数据库对象,对象可以是数据库、表、索引、视图、元祖等等。oid用4个字节的无符号整数表示。**
**在pg中,oid用来在整个数据集簇中唯一标识一个数据库对象,对象可以是数据库、模式、表、索引、视图、元祖等等。oid用4个字节的无符号整数表示。**

OID在`PostgreSQL`中被用来描述一个个数据表的逻辑对象,比如 Relation, type, attr, namespace等等,每创建一个对象都会为其分配一个属于自己的标识(Oid)。

Expand Down

0 comments on commit e682340

Please sign in to comment.