Previous   Next 

Tsearch2 README File Example: Overview

This example loads the Tsearch2 README file into a table with 1 file line for each table row. Searches find lines that match a query.

Install PostgreSQL.

tar -xzf postgresql-7.4.3.tar.gz
cd postgresql-7.4.3
./configure [OPTIONS]
make;
su;
make install;
exit;

Install tsearch2 into PostgreSQL.

cd contrib/tsearch2;
make;
su;
make install;
exit;