Remove GPDB support completely. Fixes #6692

This commit is contained in:
Akshay Joshi
2021-09-02 12:23:10 +05:30
parent f7b8969c72
commit eeff75ba20
297 changed files with 13 additions and 4881 deletions

View File

@@ -220,7 +220,7 @@ function updateUIPreferences(sqlEditor) {
/* Although not required, setting explicitly as codemirror will remove code folding only on next edit */
sqlEditor.query_tool_obj.setOption('foldGutter', false);
} else {
sqlEditor.query_tool_obj.setOption('mode', sqlEditor.handler.server_type === 'gpdb' ? 'text/x-gpsql' : 'text/x-pgsql');
sqlEditor.query_tool_obj.setOption('mode', 'text/x-pgsql');
sqlEditor.query_tool_obj.setOption('foldGutter', preferences.code_folding);
}
sqlEditor.query_tool_obj.setOption('foldGutter', preferences.code_folding);