gpt4 book ai didi

postgresql - postgresql 上的 pg_global 和 pg_default 有什么区别?

转载 作者:行者123 更新时间:2023-11-29 11:14:48 24 4
gpt4 key购买 nike

我知道这是一个非常基本的问题,但我无法通过谷歌找到答案。

但这两个表空间之间的主要区别是什么?

最佳答案

来自 Documentation :

Two tablespaces are automatically created by initdb. The pg_global tablespace is used for shared system catalogs. The pg_default tablespace is the default tablespace of the template1 and template0 databases (and, therefore, will be the default tablespace for other databases as well, unless overridden by a TABLESPACE clause in CREATE DATABASE).

关于postgresql - postgresql 上的 pg_global 和 pg_default 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15405421/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com