diff options
-rw-r--r-- | askbot/search/postgresql/thread_and_post_models_01162012.plsql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/askbot/search/postgresql/thread_and_post_models_01162012.plsql b/askbot/search/postgresql/thread_and_post_models_01162012.plsql index 44d0ea4a..2fca2d6a 100644 --- a/askbot/search/postgresql/thread_and_post_models_01162012.plsql +++ b/askbot/search/postgresql/thread_and_post_models_01162012.plsql @@ -119,6 +119,7 @@ BEGIN END; $$ LANGUAGE plpgsql; +DROP FUNCTION IF EXISTS get_dependent_comments_tsv(object_id integer, tablename text); CREATE OR REPLACE FUNCTION get_dependent_comments_tsv(parent_id integer) RETURNS tsvector AS $$ @@ -136,6 +137,7 @@ BEGIN END; $$ LANGUAGE plpgsql; +DROP FUNCTION IF EXISTS get_dependent_answers_tsv(question_id integer); CREATE OR REPLACE FUNCTION get_dependent_answers_tsv(thread_id integer) RETURNS tsvector AS $$ |