# New index on post\_custom\_fields can not be created

**URL:** <https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434>\
**Category:** Bug\
**Created:** [7월 26, 2015, 12:36오전 UTC](https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434 "2015-07-26T00:36:57Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [7월 27, 2015, 4:50오후 UTC](https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434/8 "2015-07-27T16:50:52Z")

</div>

```plaintext
PG::ProgramLimitExceeded: ERROR: index row size 5640 exceeds maximum 2712 for index "index_post_custom_fields_on_name_and_value"
HINT: Values larger than 1/3 of a buffer page cannot be indexed.
Consider a function index of an MD5 hash of the value, or use full text indexing.
: CREATE INDEX "index_post_custom_fields_on_name_and_value" ON "post_custom_fields" ("name", "value")/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'

```

Do we need to kill that index?

---

_[View the full topic](https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434)._
