gistfile1.txt
2016-11-16 12:10:48 UTC [21340-15] discourse@discourse LOG: duration: 179.100 ms execute <unnamed>: SELECT "topics"."id" FROM "topics" JOIN topic_search_data s ON topics.id = s.topic_id WHERE ("topics"."deleted_at" IS NULL) AND "topics"."visible" = 't' AND (topics.category_id IS NULL OR topics.category_id IN (SELECT id FROM categories WHERE NOT read_restricted)) AND (topics.archetype <> 'private_message') AND (search_data @@ TO_TSQUERY('english', '''actually'':* | ''adding'':* | ''all'':* | ''any'':* | ''appreciated'':* | ''be'':* | ''before'':* | ''but'':* | ''feedback'':* | ''first'':* | ''hello'':* | ''i'':* | ''it'':* | ''javascript'':* | ''like'':* | ''much'':* | ''my'':* | ''on'':* | ''plan'':* | ''portfolio'':* | ''some'':* | ''throw'':* | ''to'':* | ''understand'':* | ''would'':*')) AND (topics.id NOT IN (53683,42703,26713,29645,29630,53692,3,29652,29655,29654,29633,29656,26790,29643,26899,53685,53686,29647,26780,2,29651,29650,29646,29648,26397,29637,26783,757)) ORDER BY ts_rank(search_data, TO_TSQUERY('english', '''actually'':* | ''adding'':* | ''all'':* | ''any'':* | ''appreciated'':* | ''be'':* | ''before'':* | ''but'':* | ''feedback'':* | ''first'':* | ''hello'':* | ''i'':* | ''it'':* | ''javascript'':* | ''like'':* | ''much'':* | ''my'':* | ''on'':* | ''plan'':* | ''portfolio'':* | ''some'':* | ''throw'':* | ''to'':* | ''understand'':* | ''would'':*')) DESC LIMIT 15
2016-11-16 12:10:49 UTC [21340-16] discourse@discourse ERROR: duplicate key value violates unique constraint "post_timings_unique"
2016-11-16 12:10:49 UTC [21340-17] discourse@discourse DETAIL: Key (topic_id, post_number, user_id)=(10687, 5, 46650) already exists.
2016-11-16 12:10:49 UTC [21340-18] discourse@discourse STATEMENT: INSERT INTO post_timings (topic_id, user_id, post_number, msecs)
SELECT 10687, 46650, 5, 847
WHERE NOT EXISTS(SELECT 1 FROM post_timings
WHERE topic_id = 10687
AND user_id = 46650
AND post_number = 5)
2016-11-16 12:10:57 UTC [22683-14] discourse@discourse LOG: duration: 142.804 ms execute <unnamed>: SELECT "topics"."id" FROM "topics" JOIN topic_search_data s ON topics.id = s.topic_id WHERE ("topics"."deleted_at" IS NULL) AND "topics"."visible" = 't' AND (topics.category_id IS NULL OR topics.category_id IN (SELECT id FROM categories WHERE NOT read_restricted)) AND (topics.archetype <> 'private_message') AND (search_data @@ TO_TSQUERY('english', '''all'':* | ''am'':* | ''and'':* | ''app'':* | ''blocks'':* | ''browsers'':* | ''chrome'':* | ''firefox'':* | ''having'':* | ''hello'':* | ''i'':* | ''in'':* | ''it'':* | ''loc'':* | ''making'':* | ''on'':* | ''problems'':* | ''read'':* | ''that'':* | ''weather'':* | ''work'':* | ''working'':*')) AND (topics.id NOT IN (53683,42703,26713,29645,29630,53692,3,29652,29655,29654,29633,29656,26790,29643,26899,53685,53686,29647,26780,2,29651,29650,29646,29648,26397,29637,26783,757)) ORDER BY ts_rank(search_data, TO_TSQUERY('english', '''all'':* | ''am'':* | ''and'':* | ''app'':* | ''blocks'':* | ''browsers'':* | ''chrome'':* | ''firefox'':* | ''having'':* | ''hello'':* | ''i'':* | ''in'':* | ''it'':* | ''loc'':* | ''making'':* | ''on'':* | ''problems'':* | ''read'':* | ''that'':* | ''weather'':* | ''work'':* | ''working'':*')) DESC LIMIT 15
This file has been truncated. show original