summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2004-05-07 11:19:06 +0000
committerTeodor Sigaev <teodor@sigaev.ru>2004-05-07 11:19:06 +0000
commitd1eb9fede58e7e61b8e81cd77389ededf03ca938 (patch)
tree49ea128583beae2380a717f06d5bb1506499ada7
parent573aaa52bc98f0a75304bcca2e73e1f04221d04e (diff)
Use regprocedure type instead of oid. Usefull for human read and dump/restore
-rw-r--r--contrib/tsearch2/tsearch.sql.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/tsearch2/tsearch.sql.in b/contrib/tsearch2/tsearch.sql.in
index 8e542919435..005a3dd67c1 100644
--- a/contrib/tsearch2/tsearch.sql.in
+++ b/contrib/tsearch2/tsearch.sql.in
@@ -6,9 +6,9 @@ BEGIN;
--dict conf
CREATE TABLE pg_ts_dict (
dict_name text not null primary key,
- dict_init oid,
+ dict_init regprocedure,
dict_initoption text,
- dict_lexize oid not null,
+ dict_lexize regprocedure not null,
dict_comment text
) with oids;
@@ -136,11 +136,11 @@ insert into pg_ts_dict select
--dict conf
CREATE TABLE pg_ts_parser (
prs_name text not null primary key,
- prs_start oid not null,
- prs_nexttoken oid not null,
- prs_end oid not null,
- prs_headline oid not null,
- prs_lextype oid not null,
+ prs_start regprocedure not null,
+ prs_nexttoken regprocedure not null,
+ prs_end regprocedure not null,
+ prs_headline regprocedure not null,
+ prs_lextype regprocedure not null,
prs_comment text
) with oids;