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
pull/3/head
Murtuza Zabuawala 2016-06-20 10:03:38 +01:00 committed by Dave Page
parent 3350eaceab
commit ac37d60c03
1 changed files with 2 additions and 5 deletions

View File

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