Skip to content

Commit 8a395e0

Browse files
committed
doc: add link for list-of-scalars mention
Reported-by: Manlio Perillo Bug: 14016 Discussion: 20160311163928.6674.94707@wrigleys.postgresql.org Reviewed-by: David G. Johnston
1 parent 46eafc8 commit 8a395e0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/src/sgml/func.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14609,7 +14609,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
1460914609
Boolean (true/false) results.
1461014610
</para>
1461114611

14612-
<sect2>
14612+
<sect2 id="functions-comparisons-in-scalar">
1461314613
<title><literal>IN</literal></title>
1461414614

1461514615
<synopsis>

doc/src/sgml/ref/values.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ WHERE ip_address IN (VALUES('192.168.0.1'::inet), ('192.168.0.10'), ('192.168.1.
219219
<tip>
220220
<para>
221221
For simple <literal>IN</> tests, it's better to rely on the
222-
list-of-scalars form of <literal>IN</> than to write a <command>VALUES</>
222+
<link linkend="functions-comparisons-in-scalar">list-of-scalars</link>
223+
form of <literal>IN</> than to write a <command>VALUES</>
223224
query as shown above. The list of scalars method requires less writing
224225
and is often more efficient.
225226
</para>

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