Added support for Logical Replication. Fixes #5912

This commit is contained in:
Pradip Parkale authored and Akshay Joshi committed 2021-02-01 15:12:43 +05:30
1 parent 179bac3fd0
commit bf56a6723b
87 files changed
+5793 -15

No files matched your search

+3 -1
View File
@@ -638,7 +638,9 @@ class PGChildNodeView(NodeView):
# if type is present in the types dictionary, but it's
# value is None then it requires special handling.
if type_str[0] == 'r':
if (type_str[1].isdigit() and int(type_str[1]) > 0) or \
if len(type_str) == 1:
type_name = 'table'
elif (type_str[1].isdigit() and int(type_str[1]) > 0) or \
(len(type_str) > 2 and type_str[2].isdigit() and
int(type_str[2]) > 0):
type_name = 'column'