Rafa de la Torre
4100b66f3b
Scaffolding for diagnostic function(s)
2019-11-08 17:11:04 +01:00
Raul Marin
d5b3953568
Regress: Remove output that depends on PROJ release
2019-11-06 18:34:20 +01:00
Raul Marin
c64c61781e
Make tests path insensitive
2019-11-06 18:26:58 +01:00
Raul Marin
82d8f7e1aa
Deprecate FDW user setup ;__(
2019-11-06 18:26:37 +01:00
Raul Marin
a91f14371a
Use always the modern notation for named parameters
2019-11-06 17:25:10 +01:00
Raul Marin
01258530ff
Federated Server: Unify remote table listing
...
- Removes DB_Federated_Server_List_Registered_Tables in favor
of CDB_Federated_Server_List_Remote_Tables that now returns
both registered and unregistered tables and, when they are
registered, the information about the associated view
2019-11-06 17:04:11 +01:00
Raul Marin
90b58fcdec
Federated Server: Test with incorrect password
2019-11-06 10:20:53 +01:00
Raul Marin
29e2ee670f
Accept PG9.5 and PG10 permission error messages
2019-11-05 18:29:08 +01:00
Raul Marin
e98b18fd25
Add test around grant permissions and accessing registered tables
2019-11-05 18:07:11 +01:00
Raul Marin
e6f07d4f96
Rework API to grant and revoke permissions
2019-11-05 17:18:49 +01:00
Raul Marin
c9b01592e7
CDB_Federated_Table_Register: Handle conflict nicely
2019-11-05 16:53:25 +01:00
Raul Marin
e2beefdb53
Test around NULLs and invalids arguments
2019-11-05 16:39:13 +01:00
Raul Marin
73ee4107d4
CDB_FederatedServerTables: Improve tests readability
2019-11-05 14:48:52 +01:00
Raul Marin
aa481f4219
Permission tests and fixes for CDB_FederatedServerListRemote
2019-11-05 14:35:52 +01:00
Raul Marin
bac7d79ab3
CDB_FederatedServer: Improve tests readability
2019-11-05 13:22:45 +01:00
Raul Marin
98b2b02199
Improve tests readability and test deleting a server from granted access
2019-11-05 11:19:50 +01:00
Raul Marin
10ed64789d
Add functions to grant and revoke permissions over federated servers
2019-11-04 19:23:36 +01:00
Raul Marin
03bc3436cd
Add more tests for [un-]registering servers
2019-11-04 16:29:18 +01:00
Raul Marin
57f420ab4c
CDB_FederatedServerListRemote: Add rainy tests
2019-11-04 15:32:34 +01:00
Raul Marin
c740cfa499
CDB_Federated_Server_List_Remote_Columns: Return also type name
2019-11-04 15:18:46 +01:00
Raul Marin
eea0198864
Add CDB_Federated_Server_List_Remote_Columns
2019-10-31 15:29:37 +01:00
Raul Marin
f75756138a
CDB_FederatedServerTables: Avoid decimal mismatch
2019-10-30 15:21:00 +01:00
Raul Marin
28376ffecb
CDB_Federated_Table_Register works to refresh a table
2019-10-30 13:53:56 +01:00
Raul Marin
b839235801
Add CDB_Federated_Server_List_Registered_Tables
2019-10-30 12:19:30 +01:00
Raul Marin
d5f84784f0
Add CDB_Federated_Table_Unregister
2019-10-30 11:55:02 +01:00
Raul Marin
7bb0b93f8b
Test renaming
2019-10-30 11:47:45 +01:00
Raul Marin
a26b96347a
Initial implementation of CDB_Federated_Table_Register
2019-10-30 11:40:35 +01:00
Raul Marin
b76b754811
CDB_FederatedServerTables skeleton
2019-10-29 18:53:05 +01:00
Raul Marin
664468b1e5
Rename CDB_FederatedServerListRemote files
2019-10-29 18:51:47 +01:00
Raul Marin
f7ab3d28a8
__CDB_FS_List_Foreign_Schemas_PG: Handle order and ignore pg_% schemas automatically
2019-10-29 18:35:02 +01:00
Raul Marin
144c4e722b
Add federated server list remotes
...
Includes:
- CDB_Federated_Server_List_Remote_Schemas
- CDB_Federated_Server_List_Remote_Tables
2019-10-29 18:26:52 +01:00
Raul Marin
e22aaee5f5
Test re-registration of a server with different options
2019-10-29 16:47:35 +01:00
Raul Marin
1375894e99
CDB_Federated_Server_Unregister: Better error handling
2019-10-29 12:27:07 +01:00
Raul Marin
f285c806fc
Remove error context
2019-10-29 11:57:24 +01:00
Raul Marin
acf1f2dbd4
WIP: Add CDB_Federated_Server_Unregister
2019-10-28 18:34:46 +01:00
Raul Marin
eb02ca4d86
Regress: Allow variables in the tests
2019-10-28 17:12:38 +01:00
Raul Marin
b475eb4356
Federated Server List
2019-10-28 17:10:53 +01:00
Raul Marin
87dec4dbe4
Update README
2019-10-28 16:14:45 +01:00
Raul Marin
1dcc23db15
CDB_UserTablesTest: Make tests work even if the user doesn't have cartodb in the searchpath
2019-10-24 13:45:36 +02:00
Raul Marin
164fba197f
test_foreign_tables: Better debugging and query the default database when needed
2019-10-24 12:35:46 +02:00
Raul Marin
7f9a748119
Make CDB_OAuth independent of the PG version
2019-10-24 12:35:46 +02:00
Raul Marin
409b067721
Quota: Remove kb error from regress tests
2019-10-24 11:15:15 +02:00
Raul Marin
021c7318a3
Adapt QuotaTest to avoid randoms
2019-10-23 16:49:57 +02:00
Raul Marin
a4bcf4c78f
Update error messages
2019-10-22 20:13:38 +02:00
Raul Marin
aed88fd958
Force all PG12 to use plpython3u
2019-10-22 15:29:45 +02:00
Raul Marin
5a12033609
Adapt tests to changes
2019-10-03 18:58:27 +02:00
Rafa de la Torre
f9bd469ea9
Make oauth tests a bit more robust
2019-07-17 09:46:49 +02:00
Rafa de la Torre
402d97daa6
Merge remote-tracking branch 'origin/master' into user-defined-fdw
2019-07-17 09:18:35 +02:00
Rafa de la Torre
e41d2ec019
Add a flag to force drop of user FDW and related objects
...
If force = true then it will add the subclause `CASCADE` to the SQL
DDL sentences that support it, otherwise it'll use `RESTRICT` which is
the default and exact opposite.
2019-07-16 17:40:05 +02:00
Rafa de la Torre
076207c49c
Make sure there are no (double)escaping issues
2019-07-16 16:24:02 +02:00