mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-23 07:34:35 -06:00
Ensure that the schema diff tool should not allow comparison between Postgres Server and EDB Postgres Advanced Server. #5952
This commit is contained in:
parent
7e8cc539dc
commit
70b2ead852
@ -53,5 +53,6 @@ Bug fixes
|
||||
| `Issue #5929 <https://github.com/pgadmin-org/pgadmin4/issues/5929>`_ - Dashboard graph Y-axis width should increase with label.
|
||||
| `Issue #5941 <https://github.com/pgadmin-org/pgadmin4/issues/5941>`_ - Fixed an issue where migration on external database is not working.
|
||||
| `Issue #5943 <https://github.com/pgadmin-org/pgadmin4/issues/5943>`_ - Use http for SVG namespace URLs which were changed to https for SonarQube fixes.
|
||||
| `Issue #5952 <https://github.com/pgadmin-org/pgadmin4/issues/5952>`_ - Ensure that the schema diff tool should not allow comparison between Postgres Server and EDB Postgres Advanced Server.
|
||||
| `Issue #5955 <https://github.com/pgadmin-org/pgadmin4/issues/5955>`_ - Fix an issue where query tool is stuck when running query after discarding changed data.
|
||||
| `Issue #5958 <https://github.com/pgadmin-org/pgadmin4/issues/5958>`_ - Fix an issue where new dashboard graphs are partially following theme colors.
|
||||
|
@ -551,6 +551,7 @@ def get_shared_storage_list():
|
||||
"""
|
||||
shared_storage_config = []
|
||||
shared_storage_list = []
|
||||
restricted_shared_storage_list = []
|
||||
if config.SERVER_MODE:
|
||||
shared_storage_keys = set(['name', 'path', 'restricted_access'])
|
||||
shared_storage_config = [
|
||||
|
@ -447,7 +447,9 @@ def compare_database(params):
|
||||
compare_pre_validation(params['trans_id'], params['source_sid'],
|
||||
params['target_sid'])
|
||||
if not status:
|
||||
socketio.emit('compare_database_failed', error_msg,
|
||||
socketio.emit('compare_database_failed',
|
||||
error_msg.json if type(
|
||||
error_msg) == Response else error_msg,
|
||||
namespace=SOCKETIO_NAMESPACE, to=request.sid)
|
||||
return error_msg
|
||||
|
||||
@ -586,7 +588,9 @@ def compare_schema(params):
|
||||
compare_pre_validation(params['trans_id'], params['source_sid'],
|
||||
params['target_sid'])
|
||||
if not status:
|
||||
socketio.emit('compare_schema_failed', error_msg,
|
||||
socketio.emit('compare_schema_failed',
|
||||
error_msg.json if type(
|
||||
error_msg) == Response else error_msg,
|
||||
namespace=SOCKETIO_NAMESPACE, to=request.sid)
|
||||
return error_msg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user