mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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:
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
Block a user