- if (DB_TYPE == "pgsql") {
- $tsvector_combined = mb_substr($entry_title . ' ' .
- preg_replace('/[<\?\:]/', ' ', strip_tags($entry_content)),
- 0, 1000000);
-
- $tsvector_qpart = "tsvector_combined = to_tsvector(".$pdo->quote($feed_language).", ".$pdo->quote($tsvector_combined)."),";
-
- } else {
+ if (DB_TYPE == "pgsql")
+ $tsvector_qpart = "tsvector_combined = to_tsvector(:ts_lang, :ts_content),";
+ else