add performance test for dtext, fixes #2051

This commit is contained in:
r888888888
2013-12-03 15:50:58 -08:00
parent 1613116266
commit 327b52c2d3
8 changed files with 79 additions and 19 deletions

View File

@@ -4364,10 +4364,10 @@ CREATE INDEX index_comments_on_body_index ON comments USING gin (body_index);
--
-- Name: index_comments_on_creator_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
-- Name: index_comments_on_creator_id_and_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_comments_on_creator_id ON comments USING btree (creator_id);
CREATE INDEX index_comments_on_creator_id_and_post_id ON comments USING btree (creator_id, post_id);
--
@@ -5897,10 +5897,10 @@ CREATE INDEX index_notes_on_body_index ON notes USING gin (body_index);
--
-- Name: index_notes_on_creator_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
-- Name: index_notes_on_creator_id_and_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_notes_on_creator_id ON notes USING btree (creator_id);
CREATE INDEX index_notes_on_creator_id_and_post_id ON notes USING btree (creator_id, post_id);
--
@@ -6558,4 +6558,6 @@ INSERT INTO schema_migrations (version) VALUES ('20131006193238');
INSERT INTO schema_migrations (version) VALUES ('20131117150705');
INSERT INTO schema_migrations (version) VALUES ('20131118153503');
INSERT INTO schema_migrations (version) VALUES ('20131118153503');
INSERT INTO schema_migrations (version) VALUES ('20131130190411');