@@ -3177,7 +3177,7 @@ CREATE TABLE person (
3177
3177
);
3178
3178
INSERT INTO person VALUES ('Moe', 'happy');
3179
3179
SELECT * FROM person WHERE current_mood = 'happy';
3180
- name | current_mood
3180
+ name | current_mood
3181
3181
------+--------------
3182
3182
Moe | happy
3183
3183
(1 row)
@@ -3198,14 +3198,14 @@ SELECT * FROM person WHERE current_mood = 'happy';
3198
3198
INSERT INTO person VALUES ('Larry', 'sad');
3199
3199
INSERT INTO person VALUES ('Curly', 'ok');
3200
3200
SELECT * FROM person WHERE current_mood > 'sad';
3201
- name | current_mood
3201
+ name | current_mood
3202
3202
-------+--------------
3203
3203
Moe | happy
3204
3204
Curly | ok
3205
3205
(2 rows)
3206
3206
3207
3207
SELECT * FROM person WHERE current_mood > 'sad' ORDER BY current_mood;
3208
- name | current_mood
3208
+ name | current_mood
3209
3209
-------+--------------
3210
3210
Curly | ok
3211
3211
Moe | happy
@@ -3214,7 +3214,7 @@ SELECT * FROM person WHERE current_mood > 'sad' ORDER BY current_mood;
3214
3214
SELECT name
3215
3215
FROM person
3216
3216
WHERE current_mood = (SELECT MIN(current_mood) FROM person);
3217
- name
3217
+ name
3218
3218
-------
3219
3219
Larry
3220
3220
(1 row)
@@ -3253,7 +3253,7 @@ ERROR: operator does not exist: mood = happiness
3253
3253
<programlisting>
3254
3254
SELECT person.name, holidays.num_weeks FROM person, holidays
3255
3255
WHERE person.current_mood::text = holidays.happiness::text;
3256
- name | num_weeks
3256
+ name | num_weeks
3257
3257
------+-----------
3258
3258
Moe | 4
3259
3259
(1 row)
@@ -3982,7 +3982,7 @@ SELECT person.name, holidays.num_weeks FROM person, holidays
3982
3982
<programlisting>
3983
3983
SELECT macaddr8_set7bit('08:00:2b:01:02:03');
3984
3984
<computeroutput>
3985
- macaddr8_set7bit
3985
+ macaddr8_set7bit
3986
3986
-------------------------
3987
3987
0a:00:2b:ff:fe:01:02:03
3988
3988
(1 row)
@@ -4124,7 +4124,7 @@ SELECT 'a fat cat sat on a mat and ate a fat rat'::tsvector;
4124
4124
4125
4125
<programlisting>
4126
4126
SELECT $$the lexeme ' ' contains spaces$$::tsvector;
4127
- tsvector
4127
+ tsvector
4128
4128
-------------------------------------------
4129
4129
' ' 'contains' 'lexeme' 'spaces' 'the'
4130
4130
</programlisting>
@@ -4135,7 +4135,7 @@ SELECT $$the lexeme ' ' contains spaces$$::tsvector;
4135
4135
4136
4136
<programlisting>
4137
4137
SELECT $$the lexeme 'Joe''s' contains a quote$$::tsvector;
4138
- tsvector
4138
+ tsvector
4139
4139
------------------------------------------------
4140
4140
'Joe''s' 'a' 'contains' 'lexeme' 'quote' 'the'
4141
4141
</programlisting>
@@ -4165,7 +4165,7 @@ SELECT 'a:1 fat:2 cat:3 sat:4 on:5 a:6 mat:7 and:8 ate:9 a:10 fat:11 rat:12'::ts
4165
4165
4166
4166
<programlisting>
4167
4167
SELECT 'a:1A fat:2B,4C cat:5D'::tsvector;
4168
- tsvector
4168
+ tsvector
4169
4169
----------------------------
4170
4170
'a':1A 'cat':5 'fat':2B,4C
4171
4171
</programlisting>
@@ -4184,7 +4184,7 @@ SELECT 'a:1A fat:2B,4C cat:5D'::tsvector;
4184
4184
4185
4185
<programlisting>
4186
4186
SELECT 'The Fat Rats'::tsvector;
4187
- tsvector
4187
+ tsvector
4188
4188
--------------------
4189
4189
'Fat' 'Rats' 'The'
4190
4190
</programlisting>
@@ -4197,7 +4197,7 @@ SELECT 'The Fat Rats'::tsvector;
4197
4197
4198
4198
<programlisting>
4199
4199
SELECT to_tsvector('english', 'The Fat Rats');
4200
- to_tsvector
4200
+ to_tsvector
4201
4201
-----------------
4202
4202
'fat':2 'rat':3
4203
4203
</programlisting>
@@ -4239,17 +4239,17 @@ SELECT to_tsvector('english', 'The Fat Rats');
4239
4239
4240
4240
<programlisting>
4241
4241
SELECT 'fat & rat'::tsquery;
4242
- tsquery
4242
+ tsquery
4243
4243
---------------
4244
4244
'fat' & 'rat'
4245
4245
4246
4246
SELECT 'fat & (rat | cat)'::tsquery;
4247
- tsquery
4247
+ tsquery
4248
4248
---------------------------
4249
4249
'fat' & ( 'rat' | 'cat' )
4250
4250
4251
4251
SELECT 'fat & rat & ! cat'::tsquery;
4252
- tsquery
4252
+ tsquery
4253
4253
------------------------
4254
4254
'fat' & 'rat' & !'cat'
4255
4255
</programlisting>
@@ -4273,7 +4273,7 @@ SELECT 'fat:ab & cat'::tsquery;
4273
4273
to specify prefix matching:
4274
4274
<programlisting>
4275
4275
SELECT 'super:*'::tsquery;
4276
- tsquery
4276
+ tsquery
4277
4277
-----------
4278
4278
'super':*
4279
4279
</programlisting>
@@ -4290,7 +4290,7 @@ SELECT 'super:*'::tsquery;
4290
4290
4291
4291
<programlisting>
4292
4292
SELECT to_tsquery('Fat:ab & Cats');
4293
- to_tsquery
4293
+ to_tsquery
4294
4294
------------------
4295
4295
'fat':AB & 'cat'
4296
4296
</programlisting>
0 commit comments