首页 > 解决方案 > 如何在hstore中重现订单的偶然性?

问题描述

PostgreSQL 的键值对的文档hstore指出

"The order of the pairs is not significant (and may not be reproduced on output)."

(见这里:https ://www.postgresql.org/docs/9.0/static/hstore.html )

我从来没有经历过 hstore 顺序的混淆,因此想知道它是如何以及何时发生的。我想了解为什么以及何时会发生这些非保证订单,因为分拣hstore成本很高。

额外的问题:有人知道这是否也是数据类型的情况jsonjsonb

标签: postgresqlhstore

解决方案


推荐阅读