summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-10-01 14:01:46 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-10-01 14:01:46 -0400
commit5ec6b7f1b87f0fa006b8e08a11cd4e99bcb67358 (patch)
tree3f178e9a5ffd1683278a94614e2b11779116a983 /doc/src/sgml/ref
parent878b74e094a70e660e5ed365a2c4e1b41460515d (diff)
Improve generated column names for cases involving sub-SELECTs.
We'll now use "exists" for EXISTS(SELECT ...), "array" for ARRAY(SELECT ...), or the sub-select's own result column name for a simple expression sub-select. Previously, you usually got "?column?" in such cases. Marti Raudsepp, reviewed by Kyotaro Horiugchi
Diffstat (limited to 'doc/src/sgml/ref')
-rw-r--r--doc/src/sgml/ref/select.sgml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml
index 7fb52833e8a..636435fe1d8 100644
--- a/doc/src/sgml/ref/select.sgml
+++ b/doc/src/sgml/ref/select.sgml
@@ -758,8 +758,9 @@ UNBOUNDED FOLLOWING
If you do not specify a column name, a name is chosen automatically
by <productname>PostgreSQL</productname>. If the column's expression
is a simple column reference then the chosen name is the same as that
- column's name; in more complex cases a generated name looking like
- <literal>?column<replaceable>N</>?</literal> is usually chosen.
+ column's name. In more complex cases a function or type name may be
+ used, or the system may fall back on a generated name such as
+ <literal>?column?</literal>.
</para>
<para>