diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-19 00:10:03 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-19 00:10:03 +0000 |
commit | 6fb05e06a317962ea84eee570d1b9f067813a799 (patch) | |
tree | 4edceffc31d2cc7d9b7e820eb3964ac25ad2f9f8 | |
parent | 0556e9cfaef8d4f0cec72307fe073e6557875a13 (diff) | |
download | postgresql-6fb05e06a317962ea84eee570d1b9f067813a799.tar.gz postgresql-6fb05e06a317962ea84eee570d1b9f067813a799.zip |
Improve obsolete comment.
-rw-r--r-- | src/include/nodes/pg_list.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/include/nodes/pg_list.h b/src/include/nodes/pg_list.h index a6854d16885..e1de57b53e9 100644 --- a/src/include/nodes/pg_list.h +++ b/src/include/nodes/pg_list.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_list.h,v 1.28 2002/06/20 20:29:51 momjian Exp $ + * $Id: pg_list.h,v 1.29 2002/08/19 00:10:03 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -24,10 +24,12 @@ /*---------------------- * Value node * - * The same Value struct is used for three node types: T_Integer, - * T_Float, and T_String. Integral values are actually represented - * by a machine integer, but both floats and strings are represented - * as strings. Using T_Float as the node type simply indicates that + * The same Value struct is used for five node types: T_Integer, + * T_Float, T_String, T_BitString, T_Null. + * + * Integral values are actually represented by a machine integer, + * but both floats and strings are represented as strings. + * Using T_Float as the node type simply indicates that * the contents of the string look like a valid numeric literal. * * (Before Postgres 7.0, we used a double to represent T_Float, @@ -38,6 +40,8 @@ * * Note that an integer-looking string will get lexed as T_Float if * the value is too large to fit in a 'long'. + * + * Nulls, of course, don't need the value part at all. *---------------------- */ typedef struct Value |