mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
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.
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
#include "postgres.h"
|
||||
|
||||
#include "nodes/makefuncs.h"
|
||||
#include "nodes/parsenodes.h"
|
||||
#include "replication/replnodes.h"
|
||||
#include "nodes/replnodes.h"
|
||||
#include "replication/walsender.h"
|
||||
|
||||
|
||||
/* Result of the parsing is returned here */
|
||||
Node *replication_parse_result;
|
||||
|
||||
|
@@ -37,16 +37,16 @@
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "funcapi.h"
|
||||
#include "access/xlog_internal.h"
|
||||
#include "access/transam.h"
|
||||
#include "access/xlog_internal.h"
|
||||
#include "catalog/pg_type.h"
|
||||
#include "funcapi.h"
|
||||
#include "libpq/libpq.h"
|
||||
#include "libpq/pqformat.h"
|
||||
#include "libpq/pqsignal.h"
|
||||
#include "miscadmin.h"
|
||||
#include "nodes/replnodes.h"
|
||||
#include "replication/basebackup.h"
|
||||
#include "replication/replnodes.h"
|
||||
#include "replication/walprotocol.h"
|
||||
#include "replication/walsender.h"
|
||||
#include "storage/fd.h"
|
||||
|
Reference in New Issue
Block a user