postgresql:如何创建一个可以显示值出来的索引呢?-灵析社区

六股小子

列出索引 \di List of relations Schema | Name | Type | Owner | Table --------+----------+-------+----------+------- public | idx_date | index | postgres | quote 为何无法显示索引的值? select idx_date from quote limit 10; ERROR: column "idx_date" does not exist LINE 1: select idx_date from quote limit 10; ^ Time: 0.248 ms 如何创建一个可以显示值出来的索引呢?

阅读量:31

点赞量:0

问AI
劳资最帅
idx_date 这个是索引,和字段并不能用,你不能使用select 来查看索引