Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
b04e70b1
Commit
b04e70b1
authored
Sep 14, 2004
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust tsearch2.sql to avoid use of COPY FROM STDIN, so as to
simplify life for the Win32 installer. Per Dave Page.
parent
4f7d3e0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
65 deletions
+63
-65
contrib/tsearch2/expected/tsearch2.out
contrib/tsearch2/expected/tsearch2.out
+6
-6
contrib/tsearch2/tsearch.sql.in
contrib/tsearch2/tsearch.sql.in
+57
-59
No files found.
contrib/tsearch2/expected/tsearch2.out
View file @
b04e70b1
...
@@ -7,15 +7,15 @@ psql:tsearch2.sql:13: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit i
...
@@ -7,15 +7,15 @@ psql:tsearch2.sql:13: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit i
psql:tsearch2.sql:145: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pg_ts_parser_pkey" for table "pg_ts_parser"
psql:tsearch2.sql:145: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pg_ts_parser_pkey" for table "pg_ts_parser"
psql:tsearch2.sql:244: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pg_ts_cfg_pkey" for table "pg_ts_cfg"
psql:tsearch2.sql:244: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pg_ts_cfg_pkey" for table "pg_ts_cfg"
psql:tsearch2.sql:251: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pg_ts_cfgmap_pkey" for table "pg_ts_cfgmap"
psql:tsearch2.sql:251: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pg_ts_cfgmap_pkey" for table "pg_ts_cfgmap"
psql:tsearch2.sql:33
9
: NOTICE: type "tsvector" is not yet defined
psql:tsearch2.sql:33
7
: NOTICE: type "tsvector" is not yet defined
DETAIL: Creating a shell type definition.
DETAIL: Creating a shell type definition.
psql:tsearch2.sql:34
4
: NOTICE: argument type tsvector is only a shell
psql:tsearch2.sql:34
2
: NOTICE: argument type tsvector is only a shell
psql:tsearch2.sql:39
8
: NOTICE: type "tsquery" is not yet defined
psql:tsearch2.sql:39
6
: NOTICE: type "tsquery" is not yet defined
DETAIL: Creating a shell type definition.
DETAIL: Creating a shell type definition.
psql:tsearch2.sql:40
3
: NOTICE: argument type tsquery is only a shell
psql:tsearch2.sql:40
1
: NOTICE: argument type tsquery is only a shell
psql:tsearch2.sql:54
5
: NOTICE: type "gtsvector" is not yet defined
psql:tsearch2.sql:54
3
: NOTICE: type "gtsvector" is not yet defined
DETAIL: Creating a shell type definition.
DETAIL: Creating a shell type definition.
psql:tsearch2.sql:5
50
: NOTICE: argument type gtsvector is only a shell
psql:tsearch2.sql:5
48
: NOTICE: argument type gtsvector is only a shell
--tsvector
--tsvector
SELECT '1'::tsvector;
SELECT '1'::tsvector;
tsvector
tsvector
...
...
contrib/tsearch2/tsearch.sql.in
View file @
b04e70b1
...
@@ -272,65 +272,63 @@ insert into pg_ts_cfg values ('default', 'default','C');
...
@@ -272,65 +272,63 @@ insert into pg_ts_cfg values ('default', 'default','C');
insert into pg_ts_cfg values ('default_russian', 'default','ru_RU.KOI8-R');
insert into pg_ts_cfg values ('default_russian', 'default','ru_RU.KOI8-R');
insert into pg_ts_cfg values ('simple', 'default');
insert into pg_ts_cfg values ('simple', 'default');
copy pg_ts_cfgmap from stdin;
insert into pg_ts_cfgmap values ('default', 'lword', '{en_stem}');
default lword {en_stem}
insert into pg_ts_cfgmap values ('default', 'nlword', '{simple}');
default nlword {simple}
insert into pg_ts_cfgmap values ('default', 'word', '{simple}');
default word {simple}
insert into pg_ts_cfgmap values ('default', 'email', '{simple}');
default email {simple}
insert into pg_ts_cfgmap values ('default', 'url', '{simple}');
default url {simple}
insert into pg_ts_cfgmap values ('default', 'host', '{simple}');
default host {simple}
insert into pg_ts_cfgmap values ('default', 'sfloat', '{simple}');
default sfloat {simple}
insert into pg_ts_cfgmap values ('default', 'version', '{simple}');
default version {simple}
insert into pg_ts_cfgmap values ('default', 'part_hword', '{simple}');
default part_hword {simple}
insert into pg_ts_cfgmap values ('default', 'nlpart_hword', '{simple}');
default nlpart_hword {simple}
insert into pg_ts_cfgmap values ('default', 'lpart_hword', '{en_stem}');
default lpart_hword {en_stem}
insert into pg_ts_cfgmap values ('default', 'hword', '{simple}');
default hword {simple}
insert into pg_ts_cfgmap values ('default', 'lhword', '{en_stem}');
default lhword {en_stem}
insert into pg_ts_cfgmap values ('default', 'nlhword', '{simple}');
default nlhword {simple}
insert into pg_ts_cfgmap values ('default', 'uri', '{simple}');
default uri {simple}
insert into pg_ts_cfgmap values ('default', 'file', '{simple}');
default file {simple}
insert into pg_ts_cfgmap values ('default', 'float', '{simple}');
default float {simple}
insert into pg_ts_cfgmap values ('default', 'int', '{simple}');
default int {simple}
insert into pg_ts_cfgmap values ('default', 'uint', '{simple}');
default uint {simple}
insert into pg_ts_cfgmap values ('default_russian', 'lword', '{en_stem}');
default_russian lword {en_stem}
insert into pg_ts_cfgmap values ('default_russian', 'nlword', '{ru_stem}');
default_russian nlword {ru_stem}
insert into pg_ts_cfgmap values ('default_russian', 'word', '{ru_stem}');
default_russian word {ru_stem}
insert into pg_ts_cfgmap values ('default_russian', 'email', '{simple}');
default_russian email {simple}
insert into pg_ts_cfgmap values ('default_russian', 'url', '{simple}');
default_russian url {simple}
insert into pg_ts_cfgmap values ('default_russian', 'host', '{simple}');
default_russian host {simple}
insert into pg_ts_cfgmap values ('default_russian', 'sfloat', '{simple}');
default_russian sfloat {simple}
insert into pg_ts_cfgmap values ('default_russian', 'version', '{simple}');
default_russian version {simple}
insert into pg_ts_cfgmap values ('default_russian', 'part_hword', '{simple}');
default_russian part_hword {simple}
insert into pg_ts_cfgmap values ('default_russian', 'nlpart_hword', '{ru_stem}');
default_russian nlpart_hword {ru_stem}
insert into pg_ts_cfgmap values ('default_russian', 'lpart_hword', '{en_stem}');
default_russian lpart_hword {en_stem}
insert into pg_ts_cfgmap values ('default_russian', 'hword', '{ru_stem}');
default_russian hword {ru_stem}
insert into pg_ts_cfgmap values ('default_russian', 'lhword', '{en_stem}');
default_russian lhword {en_stem}
insert into pg_ts_cfgmap values ('default_russian', 'nlhword', '{ru_stem}');
default_russian nlhword {ru_stem}
insert into pg_ts_cfgmap values ('default_russian', 'uri', '{simple}');
default_russian uri {simple}
insert into pg_ts_cfgmap values ('default_russian', 'file', '{simple}');
default_russian file {simple}
insert into pg_ts_cfgmap values ('default_russian', 'float', '{simple}');
default_russian float {simple}
insert into pg_ts_cfgmap values ('default_russian', 'int', '{simple}');
default_russian int {simple}
insert into pg_ts_cfgmap values ('default_russian', 'uint', '{simple}');
default_russian uint {simple}
insert into pg_ts_cfgmap values ('simple', 'lword', '{simple}');
simple lword {simple}
insert into pg_ts_cfgmap values ('simple', 'nlword', '{simple}');
simple nlword {simple}
insert into pg_ts_cfgmap values ('simple', 'word', '{simple}');
simple word {simple}
insert into pg_ts_cfgmap values ('simple', 'email', '{simple}');
simple email {simple}
insert into pg_ts_cfgmap values ('simple', 'url', '{simple}');
simple url {simple}
insert into pg_ts_cfgmap values ('simple', 'host', '{simple}');
simple host {simple}
insert into pg_ts_cfgmap values ('simple', 'sfloat', '{simple}');
simple sfloat {simple}
insert into pg_ts_cfgmap values ('simple', 'version', '{simple}');
simple version {simple}
insert into pg_ts_cfgmap values ('simple', 'part_hword', '{simple}');
simple part_hword {simple}
insert into pg_ts_cfgmap values ('simple', 'nlpart_hword', '{simple}');
simple nlpart_hword {simple}
insert into pg_ts_cfgmap values ('simple', 'lpart_hword', '{simple}');
simple lpart_hword {simple}
insert into pg_ts_cfgmap values ('simple', 'hword', '{simple}');
simple hword {simple}
insert into pg_ts_cfgmap values ('simple', 'lhword', '{simple}');
simple lhword {simple}
insert into pg_ts_cfgmap values ('simple', 'nlhword', '{simple}');
simple nlhword {simple}
insert into pg_ts_cfgmap values ('simple', 'uri', '{simple}');
simple uri {simple}
insert into pg_ts_cfgmap values ('simple', 'file', '{simple}');
simple file {simple}
insert into pg_ts_cfgmap values ('simple', 'float', '{simple}');
simple float {simple}
insert into pg_ts_cfgmap values ('simple', 'int', '{simple}');
simple int {simple}
insert into pg_ts_cfgmap values ('simple', 'uint', '{simple}');
simple uint {simple}
\.
--tsvector type
--tsvector type
CREATE FUNCTION tsvector_in(cstring)
CREATE FUNCTION tsvector_in(cstring)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment