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 #1379pull/3/head
parent
3350eaceab
commit
ac37d60c03
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue