Reported-by: Manlio Perillo
Bug: 14016
Discussion:
20160311163928.6674.94707@wrigleys.postgresql.org
Reviewed-by: David G. Johnston
Boolean (true/false) results.
</para>
Boolean (true/false) results.
</para>
+ <sect2 id="functions-comparisons-in-scalar">
<title><literal>IN</literal></title>
<synopsis>
<title><literal>IN</literal></title>
<synopsis>
<tip>
<para>
For simple <literal>IN</> tests, it's better to rely on the
<tip>
<para>
For simple <literal>IN</> tests, it's better to rely on the
- list-of-scalars form of <literal>IN</> than to write a <command>VALUES</>
+ <link linkend="functions-comparisons-in-scalar">list-of-scalars</link>
+ form of <literal>IN</> than to write a <command>VALUES</>
query as shown above. The list of scalars method requires less writing
and is often more efficient.
</para>
query as shown above. The list of scalars method requires less writing
and is often more efficient.
</para>