Skip to content

Commit d1eb9fe

Browse files
committed
Use regprocedure type instead of oid. Usefull for human read and dump/restore
1 parent 573aaa5 commit d1eb9fe

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

contrib/tsearch2/tsearch.sql.in

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ BEGIN;
66
--dict conf
77
CREATE TABLE pg_ts_dict (
88
dict_name text not null primary key,
9-
dict_init oid,
9+
dict_init regprocedure,
1010
dict_initoption text,
11-
dict_lexize oid not null,
11+
dict_lexize regprocedure not null,
1212
dict_comment text
1313
) with oids;
1414

@@ -136,11 +136,11 @@ insert into pg_ts_dict select
136136
--dict conf
137137
CREATE TABLE pg_ts_parser (
138138
prs_name text not null primary key,
139-
prs_start oid not null,
140-
prs_nexttoken oid not null,
141-
prs_end oid not null,
142-
prs_headline oid not null,
143-
prs_lextype oid not null,
139+
prs_start regprocedure not null,
140+
prs_nexttoken regprocedure not null,
141+
prs_end regprocedure not null,
142+
prs_headline regprocedure not null,
143+
prs_lextype regprocedure not null,
144144
prs_comment text
145145
) with oids;
146146

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy