aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/query.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/query.sgml')
-rw-r--r--doc/src/sgml/query.sgml16
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/src/sgml/query.sgml b/doc/src/sgml/query.sgml
index 85a00bcd0bd..bbf5c7a7808 100644
--- a/doc/src/sgml/query.sgml
+++ b/doc/src/sgml/query.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/query.sgml,v 1.36 2004/08/08 01:51:05 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/query.sgml,v 1.37 2004/08/08 21:33:11 tgl Exp $
-->
<chapter id="tutorial-sql">
@@ -284,10 +284,16 @@ COPY weather FROM '/home/user/weather.txt';
<programlisting>
SELECT * FROM weather;
</programlisting>
- (here <literal>*</literal> means <quote>all columns</quote>.
- Note: While <literal>SELECT *</literal> is useful for off-the-cuff
- queries, it is considered bad style in production code for
- maintenance reasons) and the output should be:
+ (here <literal>*</literal> means <quote>all columns</quote>).
+ <footnote>
+ <para>
+ While <literal>SELECT *</literal> is useful for off-the-cuff
+ queries, it is considered bad style in production code for
+ maintenance reasons: adding a column to the table changes the results.
+ </para>
+ </footnote>
+ The output should be:
+
<screen>
city | temp_lo | temp_hi | prcp | date
---------------+---------+---------+------+------------