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
fec1d72d
Commit
fec1d72d
authored
Nov 21, 2007
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify the syntax rules for raw tsvector input.
parent
d23ba77a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/src/sgml/datatype.sgml
doc/src/sgml/datatype.sgml
+3
-3
No files found.
doc/src/sgml/datatype.sgml
View file @
fec1d72d
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.21
6 2007/11/08 13:13:51 petere
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.21
7 2007/11/21 04:01:37 tgl
Exp $ -->
<chapter id="datatype">
<title id="datatype-title">Data Types</title>
...
...
@@ -3282,7 +3282,7 @@ SELECT 'a fat cat sat on a mat and ate a fat rat'::tsvector;
(As the example shows, the sorting is first by length and then
alphabetically, but that detail is seldom important.) To represent
lexemes containing whitespace, surround them with quotes:
lexemes containing whitespace
or punctuation
, surround them with quotes:
<programlisting>
SELECT $$the lexeme ' ' contains spaces$$::tsvector;
...
...
@@ -3293,7 +3293,7 @@ SELECT $$the lexeme ' ' contains spaces$$::tsvector;
(We use dollar-quoted string literals in this example and the next one,
to avoid confusing matters by having to double quote marks within the
literals.) Embedded quotes
can be handled by doubling them
:
literals.) Embedded quotes
and backslashes must be doubled
:
<programlisting>
SELECT $$the lexeme 'Joe''s' contains a quote$$::tsvector;
...
...
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