Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6fb05e0

Browse files
committed
Improve obsolete comment.
1 parent0556e9c commit6fb05e0

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

‎src/include/nodes/pg_list.h‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_list.h,v 1.28 2002/06/20 20:29:51 momjian Exp $
10+
* $Id: pg_list.h,v 1.29 2002/08/19 00:10:03 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -24,10 +24,12 @@
2424
/*----------------------
2525
*Value node
2626
*
27-
* The same Value struct is used for three node types: T_Integer,
28-
* T_Float, and T_String. Integral values are actually represented
29-
* by a machine integer, but both floats and strings are represented
30-
* as strings.Using T_Float as the node type simply indicates that
27+
* The same Value struct is used for five node types: T_Integer,
28+
* T_Float, T_String, T_BitString, T_Null.
29+
*
30+
* Integral values are actually represented by a machine integer,
31+
* but both floats and strings are represented as strings.
32+
* Using T_Float as the node type simply indicates that
3133
* the contents of the string look like a valid numeric literal.
3234
*
3335
* (Before Postgres 7.0, we used a double to represent T_Float,
@@ -38,6 +40,8 @@
3840
*
3941
* Note that an integer-looking string will get lexed as T_Float if
4042
* the value is too large to fit in a 'long'.
43+
*
44+
* Nulls, of course, don't need the value part at all.
4145
*----------------------
4246
*/
4347
typedefstructValue

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp