Clean up ill-advised attempt to invent a private set of Node tags.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: af0eca1a80e3e3a6fa0ee00df4a7883e4f228d0b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-08-06T18:53:59Z
Releases: 9.1.0
Clean up ill-advised attempt to invent a private set of Node tags.

Somebody thought it'd be cute to invent a set of Node tag numbers that were
defined independently of, and indeed conflicting with, the main tag-number
list.  While this accidentally failed to fail so far, it would certainly
lead to trouble as soon as anyone wanted to, say, apply copyObject to these
node types.  Clang was already complaining about the use of makeNode on
these tags, and I think quite rightly so.  Fix by pushing these node
definitions into the mainstream, including putting replnodes.h where it
belongs.

Files

PathChange+/−
src/backend/replication/repl_gram.y modified +2 −2
src/backend/replication/walsender.c modified +3 −3
src/include/nodes/nodes.h modified +7 −0
src/include/nodes/replnodes.h (from src/include/replication/replnodes.h) renamed +2 −12
src/include/replication/basebackup.h modified +2 −2