search: Remove now unnecessary tsearch_extra dependency.

Now that we're implemented tsearch_extras in pure postgres, we no
longer need a custom extension.  This should help us considerably, as
it means we no longer need to ship custom apt packages at all.

Fixes #467.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2019-08-28 02:58:53 -07:00
committed by Tim Abbott
parent c3e395b7d8
commit 6701c4463c
12 changed files with 9 additions and 111 deletions

View File

@@ -1,14 +0,0 @@
#!/usr/bin/env bash
set -x
set -e
cd "$(mktemp -d)"
distro=$(lsb_release -is)
git clone https://github.com/zulip/tsearch_extras
if [ "$distro" = "Ubuntu" ] || [ "$distro" == "Debian" ]; then
make="make"
else
make="gmake"
fi
(cd tsearch_extras && "$make" && "$make" install)

View File

@@ -3,4 +3,3 @@ ALTER ROLE zulip SET search_path TO zulip,public;
CREATE DATABASE zulip OWNER=zulip;
\connect zulip
CREATE SCHEMA zulip AUTHORIZATION zulip;
CREATE EXTENSION tsearch_extras SCHEMA zulip;