index af12c64878e93d4d288b1f09f53f43e8677fcd1f..0a95e683d0f9608658e17da63905f37e0689881a 100644 (file)
@@ -95,7 +95,8 @@ $(top_builddir)/src/include/nodes/header-stamp: node-support-stamp
copyfuncs.o: copyfuncs.c copyfuncs.funcs.c copyfuncs.switch.c | node-support-stamp
equalfuncs.o: equalfuncs.c equalfuncs.funcs.c equalfuncs.switch.c | node-support-stamp
outfuncs.o: outfuncs.c outfuncs.funcs.c outfuncs.switch.c | node-support-stamp
+queryjumblefuncs.o: queryjumblefuncs.c queryjumblefuncs.funcs.c queryjumblefuncs.switch.c | node-support-stamp
readfuncs.o: readfuncs.c readfuncs.funcs.c readfuncs.switch.c | node-support-stamp
maintainer-clean: clean
- rm -f node-support-stamp $(addsuffix funcs.funcs.c,copy equal out read) $(addsuffix funcs.switch.c,copy equal out read) nodetags.h
+ rm -f node-support-stamp $(addsuffix funcs.funcs.c,copy equal out queryjumble read) $(addsuffix funcs.switch.c,copy equal out queryjumble read) nodetags.h
index 7cf6e3b04102379791f37518186bf6aaf03e46f4..523644702053aeca7e06601a6be6649925e56df5 100644 (file)
If you intend to inherit from, say a Plan node, put Plan as the first field
of your struct definition. (The T_Foo tag is created automatically.)
2. Check that the generated support functions in copyfuncs.funcs.c,
- equalfuncs.funcs.c, outfuncs.funcs.c and readfuncs.funcs.c look
- correct. Add attributes as necessary to control the outcome. (For
- some classes of node types, you don't need all four support functions.
- Use node attributes similar to those of related node types.)
+ equalfuncs.funcs.c, outfuncs.funcs.c, queryjumblefuncs.funcs.c and
+ readfuncs.funcs.c look correct. Add attributes as necessary to control the
+ outcome. (For some classes of node types, you don't need all the support
+ functions. Use node attributes similar to those of related node types.)
3. Add cases to the functions in nodeFuncs.c as needed. There are many
other places you'll probably also need to teach about your new node
type. Best bet is to grep for references to one or two similar existing