mirror of
https://github.com/postgres/postgres.git
synced 2025-05-22 00:02:02 -04:00
Use regprocedure type instead of oid. Usefull for human read and dump/restore
This commit is contained in:
parent
573aaa52bc
commit
d1eb9fede5
@ -6,9 +6,9 @@ BEGIN;
|
|||||||
--dict conf
|
--dict conf
|
||||||
CREATE TABLE pg_ts_dict (
|
CREATE TABLE pg_ts_dict (
|
||||||
dict_name text not null primary key,
|
dict_name text not null primary key,
|
||||||
dict_init oid,
|
dict_init regprocedure,
|
||||||
dict_initoption text,
|
dict_initoption text,
|
||||||
dict_lexize oid not null,
|
dict_lexize regprocedure not null,
|
||||||
dict_comment text
|
dict_comment text
|
||||||
) with oids;
|
) with oids;
|
||||||
|
|
||||||
@ -136,11 +136,11 @@ insert into pg_ts_dict select
|
|||||||
--dict conf
|
--dict conf
|
||||||
CREATE TABLE pg_ts_parser (
|
CREATE TABLE pg_ts_parser (
|
||||||
prs_name text not null primary key,
|
prs_name text not null primary key,
|
||||||
prs_start oid not null,
|
prs_start regprocedure not null,
|
||||||
prs_nexttoken oid not null,
|
prs_nexttoken regprocedure not null,
|
||||||
prs_end oid not null,
|
prs_end regprocedure not null,
|
||||||
prs_headline oid not null,
|
prs_headline regprocedure not null,
|
||||||
prs_lextype oid not null,
|
prs_lextype regprocedure not null,
|
||||||
prs_comment text
|
prs_comment text
|
||||||
) with oids;
|
) with oids;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user