Fix the issue in Materialized view where user was not able to create Materialized view with PPAS 9.5 due to incorrect template path.

Fixes #1379
This commit is contained in:
Murtuza Zabuawala 2016-06-20 10:03:38 +01:00 committed by Dave Page
parent 3350eaceab
commit ac37d60c03

View File

@ -1241,12 +1241,9 @@ class MViewNode(ViewNode, VacuumSettings):
@staticmethod
def ppas_template_path(ver):
"""
Returns the template path for PostgreSQL servers.
Returns the template path for EDB Advanced servers.
"""
return 'ppas/{0}'.format(
'9.4_plus' if ver >= 90400 else
'9.3_plus'
)
return 'ppas/9.3_plus'
@staticmethod
def pg_template_path(ver):