mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-27 03:00:22 -06:00
493 lines
9.3 KiB
JSON
493 lines
9.3 KiB
JSON
{
|
|
"add_database_data":
|
|
{
|
|
"privileges_acl": [
|
|
{
|
|
"grantee": "postgres",
|
|
"grantor": "postgres",
|
|
"privileges": [
|
|
{
|
|
"privilege_type": "C",
|
|
"privilege": true,
|
|
"with_grant": true
|
|
},
|
|
{
|
|
"privilege_type": "T",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"conn_limit": -1,
|
|
"owner": "postgres",
|
|
"fun_acl": [
|
|
{
|
|
"grantee": "postgres",
|
|
"grantor": "postgres",
|
|
"privileges": [
|
|
{
|
|
"privilege_type": "X",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"seq_acl": [
|
|
{
|
|
"grantee": "postgres",
|
|
"grantor": "postgres",
|
|
"privileges": [
|
|
{
|
|
"privilege_type": "r",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
},
|
|
{
|
|
"privilege_type": "w",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
},
|
|
{
|
|
"privilege_type": "U",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"tbl_acl": [
|
|
{
|
|
"grantee": "postgres",
|
|
"grantor": "postgres",
|
|
"privileges": [
|
|
{
|
|
"privilege_type": "a",
|
|
"privilege": true,
|
|
"with_grant": true
|
|
},
|
|
{
|
|
"privilege_type": "r",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"type_acl": [
|
|
{
|
|
"grantee": "postgres",
|
|
"grantor": "postgres",
|
|
"privileges": [
|
|
{
|
|
"privilege_type": "U",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"encoding": "UTF8",
|
|
"name": "test_db_automation",
|
|
"privileges": [],
|
|
"securities": [],
|
|
"variables": []
|
|
},
|
|
"db_update_data":
|
|
{
|
|
"comment": "This is db update comment"
|
|
},
|
|
|
|
"lr_credentials": {
|
|
"can_login": "true",
|
|
"conn_limit": -1,
|
|
"create_role": "true",
|
|
"role_inherit": "true",
|
|
"role_membership": [],
|
|
"lr_name": "testlrg1",
|
|
"lr_password": "edb",
|
|
"lr_validity": "12/27/2016",
|
|
"sec_lable": [],
|
|
"variable":[
|
|
{"name":"work_mem",
|
|
"database":"postgres",
|
|
"value":65
|
|
}]
|
|
},
|
|
"lr_update_data": {
|
|
"comment": "This is db update comment"
|
|
},
|
|
|
|
"tablespc_credentials":[{
|
|
"tblspace_name": "test_tablespace",
|
|
"spc_seclable": [],
|
|
"spc_acl": [
|
|
{
|
|
"grantee":"postgres",
|
|
"grantor":"postgres",
|
|
"privileges":[
|
|
{
|
|
"privilege_type":"C",
|
|
"privilege":true,
|
|
"with_grant":false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"spc_opts": [],
|
|
"spc_user": "postgres"
|
|
}],
|
|
|
|
"tbspc_update_data": {
|
|
"comment": "This is tablespace update comment"
|
|
},
|
|
"schema_credentials":[
|
|
{
|
|
"func_acl": [],
|
|
"seq_acl": [],
|
|
"tbl_acl": [],
|
|
"type_acl": [],
|
|
"name": "test_schema",
|
|
"owner": "postgres",
|
|
"privilege":
|
|
[
|
|
{
|
|
"grantee":"postgres",
|
|
"grantor":"postgres",
|
|
"privileges":
|
|
[
|
|
{
|
|
"privilege_type":"C",
|
|
"privilege":true,
|
|
"with_grant":false
|
|
},
|
|
{
|
|
"privilege_type":"U",
|
|
"privilege":true,
|
|
"with_grant":false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sec_label": []
|
|
}],
|
|
"schema_update_data":[
|
|
{
|
|
"owner": "postgres",
|
|
"tbl_acl":
|
|
{
|
|
"added":
|
|
[
|
|
{
|
|
"grantee": "public",
|
|
"grantor": "postgres",
|
|
"privileges":
|
|
[
|
|
{
|
|
"privilege_type": "D",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
},
|
|
{
|
|
"privilege_type": "x",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"func_acl":
|
|
{
|
|
"added":
|
|
[
|
|
{
|
|
"grantee":"postgres",
|
|
"grantor":"postgres",
|
|
"privileges":
|
|
[
|
|
{
|
|
"privilege_type":"X",
|
|
"privilege":true,
|
|
"with_grant":true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"seq_acl":
|
|
{
|
|
"added":
|
|
[
|
|
{
|
|
"grantee":"postgres",
|
|
"grantor":"postgres",
|
|
"privileges":
|
|
[
|
|
{
|
|
"privilege_type":"r",
|
|
"privilege":true,
|
|
"with_grant":false
|
|
},
|
|
{
|
|
"privilege_type":"w",
|
|
"privilege":true,
|
|
"with_grant":false
|
|
},
|
|
{
|
|
"privilege_type":"U",
|
|
"privilege":true,
|
|
"with_grant":false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}],
|
|
|
|
"trigger_function_credentials":[
|
|
{
|
|
"acl":
|
|
[
|
|
{
|
|
"grantee":"postgres",
|
|
"grantor":"postgres",
|
|
"privileges":
|
|
[
|
|
{
|
|
"privilege_type":"X",
|
|
"privilege":true,
|
|
"with_grant":true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"args": [],
|
|
"fun_owner": "postgres",
|
|
"language": "plpgsql",
|
|
"name": "test_abort_any_command",
|
|
"options": [],
|
|
"leak_proof": true,
|
|
"namespace": 2200,
|
|
"type": "event_trigger/trigger",
|
|
"sec_def": true,
|
|
"code": "BEGIN RAISE EXCEPTION 'command % is disabled', tg_tag; END;",
|
|
"volitile": "s",
|
|
"sec_label": [],
|
|
"Variable":
|
|
[
|
|
{
|
|
"name":"enable_sort",
|
|
"value":true
|
|
}
|
|
]
|
|
}],
|
|
"trigger_func_update_data": {
|
|
"comment": "This is trigger function update comment"
|
|
},
|
|
|
|
"collation_credentials":[
|
|
{
|
|
"copy_collation": "pg_catalog.\"POSIX\"",
|
|
"name": "test_collation",
|
|
"owner": "postgres",
|
|
"schema": ""
|
|
}],
|
|
|
|
"collation_update_data": {
|
|
"comment": "This is collation update comment"
|
|
},
|
|
|
|
"casts_credentials":
|
|
[{
|
|
"cast_context": "IMPLICIT",
|
|
"encoding": "UTF8",
|
|
"name": "money->bigint",
|
|
"source_type": "money",
|
|
"target_type": "bigint",
|
|
"owner": "postgres"
|
|
}],
|
|
|
|
"cast_update_data":
|
|
{
|
|
"comment": "This is cast update comment"
|
|
},
|
|
|
|
"extension_credentials":[
|
|
{
|
|
"name": "postgres_fdw",
|
|
"relocate": true,
|
|
"schema": "",
|
|
"version": "1.0",
|
|
"owner": "postgres"
|
|
}],
|
|
|
|
"extension_update_data":
|
|
{
|
|
"schema": "schema"
|
|
},
|
|
|
|
"fdw_credentials":[
|
|
{
|
|
"acl":
|
|
[
|
|
{
|
|
"grantee":"postgres",
|
|
"grantor":"postgres",
|
|
"privileges":
|
|
[
|
|
{
|
|
"privilege_type":"U",
|
|
"privilege":true,
|
|
"with_grant":true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"handler": "postgres_fdw_handler",
|
|
"options": [],
|
|
"owner": "postgres",
|
|
"validator": "postgres_fdw_validator",
|
|
"name": "fdw"
|
|
}],
|
|
|
|
"fdw_update_data":
|
|
{
|
|
"comment": "This is FDW update comment"
|
|
},
|
|
|
|
"fsrv_credentials":[
|
|
{
|
|
"fsrv_acl":
|
|
[
|
|
{
|
|
"grantee":"postgres",
|
|
"grantor":"postgres",
|
|
"privileges":
|
|
[
|
|
{
|
|
"privilege_type":"U",
|
|
"privilege":true,
|
|
"with_grant":false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"fsrv_options":
|
|
[
|
|
{
|
|
"fsrvoption":"host",
|
|
"fsrvvalue":"localhost"
|
|
},
|
|
{
|
|
"fsrvoption":"port",
|
|
"fsrvvalue":"5433"
|
|
},
|
|
{
|
|
"fsrvoption":"dbname",
|
|
"fsrvvalue":"postgres"
|
|
}
|
|
],
|
|
"owner": "postgres",
|
|
"name": "foreign_server1"
|
|
}],
|
|
|
|
"FSRV_update_data":
|
|
{
|
|
"comment": "This is foreign server update comment"
|
|
},
|
|
|
|
"user_mapping_credentials":[
|
|
{
|
|
"name": "postgres",
|
|
"option": [],
|
|
"owner": "postgres",
|
|
"options":
|
|
[
|
|
{
|
|
"umoption":"user",
|
|
"umvalue":"postgres"
|
|
},
|
|
{
|
|
"umoption":"password",
|
|
"umvalue":"edb"
|
|
}
|
|
]
|
|
}],
|
|
|
|
"user_mapping_update_data":
|
|
{
|
|
"options":
|
|
{
|
|
"changed":
|
|
[
|
|
{"umoption":"password",
|
|
"umvalue":"edb1"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
|
|
"event_trigger_credentials":
|
|
[{
|
|
"enable": "O",
|
|
"event_func": "test_schema.test_abort_any_command",
|
|
"event_name": "DDL_COMMAND_END",
|
|
"owner": "postgres",
|
|
"name": "test_event_trg",
|
|
"provider": []
|
|
}],
|
|
|
|
"event_trigger_update_data":
|
|
{
|
|
"comment": "This is event trigger update comment"
|
|
},
|
|
|
|
"sequence_credentials":
|
|
[{
|
|
"cache": "1",
|
|
"cycled": true,
|
|
"increment": "1",
|
|
"max_value": "100000",
|
|
"min_value": "1",
|
|
"name": "test_empno",
|
|
"acl":
|
|
[
|
|
{
|
|
"grantee":"postgres",
|
|
"grantor":"postgres",
|
|
"privileges":
|
|
[
|
|
{
|
|
"privilege_type":"r",
|
|
"privilege":true,
|
|
"with_grant":false
|
|
},
|
|
{
|
|
"privilege_type":"w",
|
|
"privilege":true,
|
|
"with_grant":false
|
|
},
|
|
{
|
|
"privilege_type":"U",
|
|
"privilege":true,
|
|
"with_grant":false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"schema_name": "test_schema",
|
|
"security": [],
|
|
"owner": "postgres",
|
|
"start_val": "100"
|
|
}],
|
|
|
|
"sequnce_update_data":
|
|
{
|
|
"comment": "This is sequence update comment"
|
|
}
|
|
|
|
|
|
}
|