Rafa de la Torre
|
a32dea0282
|
Remove SECURITY DEFINER from user-defined FDW's
|
2019-07-16 13:26:03 +02:00 |
|
Rafa de la Torre
|
3a255df9d0
|
Rename PG-FDW's-specific functions to _PG_FDW_
As per review comment.
|
2019-07-16 13:14:11 +02:00 |
|
Rafa de la Torre
|
c4e2549dc8
|
A few more permissions tests for completeness
|
2019-07-15 18:14:23 +02:00 |
|
Rafa de la Torre
|
2e9f642378
|
Check when users shall not have permissions to the FDW
|
2019-07-15 17:32:48 +02:00 |
|
Rafa de la Torre
|
99096d41e0
|
Drop the role when dropping a user-defined FDW
|
2019-07-15 17:25:48 +02:00 |
|
Rafa de la Torre
|
3a10ef7e76
|
Add ability to grant fdw role to org members
|
2019-07-15 16:54:23 +02:00 |
|
Rafa de la Torre
|
a20676f391
|
Add a test/example of granting the fdw role
|
2019-07-15 16:19:06 +02:00 |
|
Rafa de la Torre
|
37004db047
|
Add new function to drop a user-defined foreign server
|
2019-07-15 16:14:07 +02:00 |
|
Rafa de la Torre
|
8cfc8e65cf
|
Test with a regular user (non-superadmin)
|
2019-07-15 14:44:21 +02:00 |
|
Rafa de la Torre
|
6e34e16b8d
|
Add basic test for user-defined FDW's
|
2019-07-15 13:16:14 +02:00 |
|
Rafa de la Torre
|
d378ca6fe0
|
Test for missing foreign CDB_TableMetadata
|
2019-07-03 16:25:16 +02:00 |
|
Rafa de la Torre
|
b0b4a92240
|
Add a test case for missing foreign CDB_Tablementadata
|
2019-06-28 16:19:57 +02:00 |
|
Raul Marin
|
78077a6ec1
|
Bash tests improvements
- Stop loading sql files manually.
- Make tests independent.
- Single DB setup (not once per test)
|
2019-05-31 15:37:15 +02:00 |
|
Eneko Lakasta
|
b209726b1c
|
Merge pull request #320 from bloomberg/v0_18_5/cdb_tablemetadata_text_hotfix
Fix incorrect timestamps in CDB_TableMetadata_Text
|
2018-07-23 16:00:19 +02:00 |
|
Tyler Parsons
|
5c86029029
|
Test for correct timestamps in cdb_tablemetadata_text
|
2018-01-25 23:08:28 -05:00 |
|
Tyler Parsons
|
acd101af9b
|
Use PGPORT as fdw port if specified
|
2018-01-25 23:08:12 -05:00 |
|
Raul Marin
|
0f7a1c4882
|
Remove PARALLEL mode in older versions (up to 9.6)
|
2017-11-13 09:35:20 +01:00 |
|
Javier Goizueta
|
399b680b41
|
Merge pull request #283 from CartoDB/157-test-fixes
Fix tests: race condition with publicuser #157
|
2016-11-30 16:08:21 +01:00 |
|
Rafa de la Torre
|
30cd4cf1f9
|
Fix tests: race condition with publicuser #157
|
2016-10-17 16:31:10 +02:00 |
|
Javier Goizueta
|
1356131ec1
|
Fix tests
|
2016-10-14 11:22:06 +02:00 |
|
Javier Goizueta
|
1f01ecae30
|
Exclude overviews from user data size
Fixes #261
Some internal functions from the Overviews module
have been moved to a separate file because they're now
used from Quaota function.
|
2016-06-13 10:04:13 +02:00 |
|
Raul Ochoa
|
de5a702510
|
Adds table for storing camshaft analysis nodes
|
2016-04-18 17:41:39 +02:00 |
|
Alejandro Martínez
|
90c16fdb13
|
Fully qualify invalidations
|
2016-03-02 16:22:22 +01:00 |
|
Alejandro Martínez
|
56fed12392
|
Add CDB_TableMetadata_Text view as a proxy to access FDW tablemetadata
|
2016-02-11 19:16:00 +01:00 |
|
Rafa de la Torre
|
9596e8d9bc
|
A couple checks for quoted idents in CDB_Last_Updated_Time
|
2016-02-10 19:10:57 +01:00 |
|
Rafa de la Torre
|
06036e2fe8
|
Quote identifiers returned by CDB_QueryTables_Updated_At
|
2016-02-10 18:58:01 +01:00 |
|
Rafa de la Torre
|
2bce771488
|
Add some tests
Tests for:
* CDB_QueryTables_Updated_At
* CDB_Last_Updated_Time
|
2016-02-09 19:24:08 +01:00 |
|
Alejandro Martínez
|
fdbad0f93c
|
Fix specs on 9.3
|
2016-02-08 17:33:41 +01:00 |
|
Alejandro Martínez
|
131aee1503
|
Fully qualify function names
|
2016-02-08 16:35:26 +01:00 |
|
Alejandro Martínez
|
e858ddfa0b
|
Add CDB_ForeignTable specs
|
2016-02-08 15:46:25 +01:00 |
|
Rafa de la Torre
|
6e4a5b5635
|
Add CASCADE to DROP SCHEMA... in tear_down #138
|
2015-09-09 18:33:06 +02:00 |
|
Raul Ochoa
|
5abe6e0b3d
|
Merge branch 'master' into cdb_querytables_quoted
Conflicts:
test/extension/test.sh
|
2015-09-07 12:17:36 +02:00 |
|
Raul Ochoa
|
4be7d4a497
|
Use quote_ident to quote schema and table names when necessary
Fixes #133
|
2015-09-03 13:12:29 +02:00 |
|
Raul Ochoa
|
350c76f847
|
Add option to run tests by prefix
`bash test/extension/test.sh test_cdb_querytables`
will run all tests that start with test_cdb_querytables
|
2015-09-03 12:59:20 +02:00 |
|
Raul Ochoa
|
e28b6344aa
|
Assert it's not possible to get column names from a table without permissions
|
2015-09-02 12:32:43 +02:00 |
|
Raul Ochoa
|
2867a6fbad
|
Assert user can use its schema to retrieve column names
|
2015-09-02 12:32:34 +02:00 |
|
Raul Ochoa
|
7582f2cbc5
|
CDB_ColumnType uses schema and table from regclass
Fixes #130
|
2015-09-02 12:06:04 +02:00 |
|
Raul Ochoa
|
4b5c5dd275
|
CDB_ColumnNames uses schema and table name from regclass
Fixes #122
|
2015-09-02 12:04:52 +02:00 |
|
Raul Ochoa
|
eb6fc4fefb
|
Use CDB_ColumnType and CDB_ColumnNames in bash tests
|
2015-09-02 12:01:43 +02:00 |
|
Raul Ochoa
|
fc95566ddd
|
Remove test for unexistent table as there was already one
|
2015-03-31 16:01:49 +02:00 |
|
Raul Ochoa
|
7f58e1f690
|
Adds tests for cdb_tablemetadatatouch
- fixes tableoid by using the proper table oid
- tests quoted and unqouted call with OID
- tests non existent table to fail
|
2015-03-31 14:48:45 +02:00 |
|
Raul Ochoa
|
38d32371c8
|
Adds test to validate CDB_TableMetadataTouch usage with OID
|
2015-03-03 12:09:25 +01:00 |
|
Kartones
|
0a3d08edc3
|
#revert-size_calc
|
2015-02-27 10:53:14 +01:00 |
|
Raul Ochoa
|
f16f53ceab
|
Adds test for non-authorized writes to cdb_tablemetadata through CDB_TableMetadataTouch
|
2015-02-19 14:02:27 +01:00 |
|
Raul Ochoa
|
27aec0d4b4
|
Adds tests for qualified table names
|
2015-02-18 18:01:29 +01:00 |
|
Raul Ochoa
|
da7b3b7080
|
Adds CDB_TableMetadataTouch function to be able to upsert updated_at
value in cdb_tablemetadata
|
2015-02-18 17:08:46 +01:00 |
|
Kartones
|
6c7706672f
|
#69 now using pg_relation_size
|
2015-02-17 15:40:26 +01:00 |
|
Kartones
|
61b47617b8
|
#1138 fixes for specs
|
2014-11-18 17:35:11 +01:00 |
|
Kartones
|
3b5c1f65cb
|
#1138 Quota changes, raster import cartodbfication and quota spec
|
2014-11-18 15:24:54 +01:00 |
|