diff options
author | Andrew Dolgov <[email protected]> | 2018-07-10 14:08:55 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-07-10 14:08:55 +0300 |
commit | 6e6c3a878d561099ea5c50181a1eb4d4b4494552 (patch) | |
tree | 22589b3ef6cf32330d10fbc16cd153cc2a64eef6 /classes/rssutils.php | |
parent | 0cd4a88dc2e0dc0e9a155ad8e7714f9fc7d4a481 (diff) |
update_rss_feed: limit maximum length of tsvector data because of pgsql limitations
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-x | classes/rssutils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php index dd6d1dd31..3315d9f88 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -1008,7 +1008,7 @@ class RSSUtils { if (DB_TYPE == "pgsql") { $params[":ts_lang"] = $feed_language; - $params[":ts_content"] = mb_substr(strip_tags($entry_title . " " . $entry_content), 0, 1000000); + $params[":ts_content"] = mb_substr(strip_tags($entry_title . " " . $entry_content), 0, 900000); } $sth->execute($params); |