gpt4 book ai didi

postgresql - "H"中的 "HStore"在 PostgresDB 数据类型名称中意味着什么?

转载 作者:行者123 更新时间:2023-11-29 12:56:50 26 4
gpt4 key购买 nike

我尝试搜索,在这里进行了一番搜索后,我决定在您的帮助下揭开这个 secret 。

最佳答案

您可以放心地打赌,hstore 是哈希存储的缩写,哈希是对键/值对的 Perl 数据类型的引用。

Oleg Bartunov,该数据类型的共同设计者,在 -hackers mailing-list 中提到了这种关系。 :

have you seen contrib/hstore ? It's perl-like hash data type

同样在原始文档中,在 PostgreSQL 的贡献部分采用 hstore 之前(此页面可追溯到 2003 年或更早): http://www.sai.msu.su/~megera/postgres/gist/hstore/README.hstore有几个对 Perl 散列的引用来解释一些运算符:

* hstore ? text - get value , perl analogy $h{key}
* hstore || hstore - concatenation, perl analogy %a=( %b, %c );

关于postgresql - "H"中的 "HStore"在 PostgresDB 数据类型名称中意味着什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41090226/

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