aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/README
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/nodes/README')
-rw-r--r--src/backend/nodes/README27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/backend/nodes/README b/src/backend/nodes/README
index 499aefbe977..b1b95ffcdee 100644
--- a/src/backend/nodes/README
+++ b/src/backend/nodes/README
@@ -1,15 +1,12 @@
-*******************************************************************************
-* *
-* EXPLANATION OF THE NODE STRUCTURES *
-* - Andrew Yu (11/94) *
-* *
-* Copyright (c) 1994, Regents of the University of California *
-* *
-* $PostgreSQL: pgsql/src/backend/nodes/README,v 1.2 2003/11/29 22:39:45 pgsql Exp $
-* *
-*******************************************************************************
-
-INTRODUCTION
+$PostgreSQL: pgsql/src/backend/nodes/README,v 1.3 2008/03/20 17:55:14 momjian Exp $
+
+Node Structures
+===============
+
+Andrew Yu (11/94)
+
+Introduction
+------------
The current node structures are plain old C structures. "Inheritance" is
achieved by convention. No additional functions will be generated. Functions
@@ -36,7 +33,8 @@ FILES IN THIS DIRECTORY
memnodes.h - memory nodes
-STEPS TO ADD A NODE
+Steps to Add a Node
+-------------------
Suppose you wana define a node Foo:
@@ -51,7 +49,8 @@ Suppose you wana define a node Foo:
bother writing a creator function in makefuncs.c)
-HISTORICAL NOTE
+Historical Note
+---------------
Prior to the current simple C structure definitions, the Node structures
uses a pseudo-inheritance system which automatically generates creator and