Bypass recovery checks with older servers. This is required for Greenplum which is based on PG 8.3 at present.

This commit is contained in:
Atira Odhner
2017-01-30 17:02:55 +00:00
committed by Dave Page
parent 30e546208f
commit c6b67fc66a
11 changed files with 75 additions and 61 deletions

View File

@@ -346,9 +346,7 @@ class PGChildNodeView(NodeView):
"""
# Set the sql_path
sql_path = ''
if conn.manager.version >= 90100:
sql_path = 'depends/sql/9.1_plus'
sql_path = 'depends/sql/#{0}#'.format(conn.manager.version)
if where is None:
where_clause = "WHERE dep.objid={0}::oid".format(object_id)