mirror of
https://github.com/postgres/postgres.git
synced 2026-06-15 21:19:21 -04:00
05e8396892
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.
20 lines
494 B
C
20 lines
494 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* basebackup.h
|
|
* Exports from replication/basebackup.c.
|
|
*
|
|
* Portions Copyright (c) 2010-2011, PostgreSQL Global Development Group
|
|
*
|
|
* src/include/replication/basebackup.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef _BASEBACKUP_H
|
|
#define _BASEBACKUP_H
|
|
|
|
#include "nodes/replnodes.h"
|
|
|
|
extern void SendBaseBackup(BaseBackupCmd *cmd);
|
|
|
|
#endif /* _BASEBACKUP_H */
|