In a previous life, I worked on a CRM system that really loved the idea of tags. Everything could be tagged, users could create new tags, tags were a key organizing principle of searching and...
本文介绍了在Postgres中使用标签的三种模型:关系模型、整数数组模型和文本数组模型。整数数组模型和文本数组模型都比关系模型更小、更快、更简单。