/////////////////////////////////////////////////////////////
//
// pgAdmin 4 - PostgreSQL Tools
//
// Copyright (C) 2013 - 2024, The pgAdmin Development Team
// This software is released under the PostgreSQL Licence
//
//////////////////////////////////////////////////////////////
import React from 'react';
import PropTypes from 'prop-types';
import LogReplication from './LogReplication';
import EmptyPanelMessage from '../../../../static/js/components/EmptyPanelMessage';
import PGDReplication from './PGDReplication';
export default function Replication({preferences, treeNodeInfo, pageVisible}) {
const replicationType = treeNodeInfo?.server?.replication_type;
if(replicationType == 'log') {
return ;
} else if(replicationType == 'pgd') {
return ;
} else {
return ;
}
}
Replication.propTypes = {
preferences: PropTypes.object,
treeNodeInfo: PropTypes.object.isRequired,
pageVisible: PropTypes.bool,
};