Raul Marin
0cecfdb112
log level
2019-10-22 16:32:30 +02:00
Raul Marin
ccbaf785cf
Updates
2019-10-22 16:00:29 +02:00
Alejandro Martínez
eb1222729d
Remove ddl triggers specs
2016-01-21 11:46:39 +01:00
Alejandro Martínez
ef376fd243
Remove schema_triggers
2015-11-04 17:06:54 +01:00
Rafa de la Torre
3d89d8231f
Fix deletion of cartodb_postgresql_unpriv_user
...
only used in tests
2015-08-14 09:48:34 +00:00
Paul Ramsey
d268cd07cb
Fix many tests and handle ownership issues involved
...
with Cartodbfy being invoked by schema triggers. Some
issues with regclass interpretation in tests still remain.
Some issues with slightly different behavior to old version
remain. Some issues with error messages / notification messages
changing a little still remain.
2015-08-13 15:59:45 -07:00
Rafa de la Torre
67f8a8cd69
Fix test_ddl_triggers.sql
...
by removing references to created_at & updated_at columns
2015-08-11 19:18:10 +02:00
Raul Ochoa
3cf62ecd2e
Do not grant select permission to public user
...
- Fake the behaviour in tests by switching between users
2015-02-10 15:27:42 +01:00
Kartones
cd9e44b266
#1138 Fixed DDL triggers to properly use new cartodbfy signature, fixed cartodbfy to properly send params to check raster table
2014-11-19 10:00:04 +01:00
Sandro Santilli
f9f73d2d62
Fix potential infinite loop in CDB_QueryStatements
...
This fix was already present at one point in cartodb/lib/sql
(where the code was copied from) but in a different branch than
the one the code was initially copied from.
The fix depends on plpython language which becomes a new dependency.
2014-06-05 15:00:57 +02:00
Sandro Santilli
2601364011
Fix recursive DDL trigger on create table
...
Closes #32
2014-05-28 09:02:02 +02:00
Sandro Santilli
8a8d198ea2
Do not enable DDL triggers on extension create
...
Use cartodb.cdb_enable_ddl_hooks() to enable them.
Closes #19
2014-05-22 11:40:01 +02:00
Sandro Santilli
2f0031e6a2
Do not call CDB_Invalidate_Varnish() if not owned by a superuser
...
Search for that function in schemas cartodb and public (in that order).
Closes #24
2014-05-14 19:03:20 +02:00
Sandro Santilli
f98071cdac
Do not allow cartodbfying tables while no user quota is set
...
Closes #17
Updates tests
2014-05-12 13:27:44 +02:00
Sandro Santilli
cfd8dbc5a4
Test calls to CDB_Invalidate_Varnish
...
Also drops the DELETE trigger on CDB_TableMetadata as the call to
CDB_Invalidate_Varnish would then get an OID, which is pretty useless.
Closes #8
2014-05-09 17:34:18 +02:00
Sandro Santilli
1643ae2db1
Sleep less in the DDL hooks test
...
Closes #9
Hopefully travis is not too slow to fail this...
2014-05-09 11:34:24 +02:00
Sandro Santilli
15740f2ef6
Enable running all tests via "installcheck"
...
NOTE: also makes CDB_TableMetadata triggers still functional
when user quota and varnish invalidation functions are missing
from the database (currently installed by cartodb ruby)
2014-05-06 10:18:38 +02:00
Sandro Santilli
0960276046
Import cartodb/lib/sql/test, add search_path tweaker
2014-05-05 18:48:48 +02:00
Sandro Santilli
1a7fd8fd67
Fix automated test
2014-05-05 12:20:38 +02:00
Sandro Santilli
8cd7e31450
Include some of the cartodb scripts in the extension
...
NOTE: this is unfinished as cartodb scripts are only referenced and not
really included
2014-04-30 19:03:14 +02:00
Sandro Santilli
be25906953
Move toward cartodb extension
2013-12-02 16:29:02 +01:00