Commit Graph

26 Commits (12e90ef6a42564a5bf71a4b98d3687c4fd7d203c)

Author SHA1 Message Date
Raul Ochoa 12e90ef6a4 CDB-3094 Adds cdb_org_member role group and functions to handle access to tables through it
10 years ago
Raul Ochoa 5e5471c474 CDB-3094 changes signature to allow specifying the schema because it does not have to be the role name.
10 years ago
Sandro Santilli d61de906d5 Use "cdb_test" prefix for test member names
10 years ago
Sandro Santilli 36dca36927 Do not assume "postgres" user exists
10 years ago
Raul Ochoa 8dec91de87 Merge branch 'master' of https://github.com/CartoDB/cartodb-postgresql into CDB-3094
10 years ago
Raul Ochoa fb68f225d5 CDB-3094 no hardcoded database. it also creates the database between tests and the cartodb schema to install the functions
10 years ago
Raul Ochoa 9a55b03d6f CDB-3094 initial function to share tables/schemas between users within the same database
10 years ago
Sandro Santilli bc0966c46e Do not add unique index on cartodb_id if already a primary key
10 years ago
Sandro Santilli edc56e60ee Further increase in test tolerance
10 years ago
Sandro Santilli f6e0456265 Increase tolerance in floating number based tests (extent)
10 years ago
Sandro Santilli f9f73d2d62 Fix potential infinite loop in CDB_QueryStatements
10 years ago
Sandro Santilli fba8d3ab84 Do not assume cartodb functions install in "public" schema during testing
10 years ago
Sandro Santilli e993f83b8d Rename test to have "Test" suffix
10 years ago
Sandro Santilli 651bb8cdb7 Add instructions about adding a test
10 years ago
Sandro Santilli ce20009fb2 Workaround PostgreSQL bug possibly triggering infinite loops
10 years ago
Sandro Santilli 004c3c5543 Ensure cartodb_id uses an associated sequence
10 years ago
Sandro Santilli 348177d23a Fix cartodbfication of already-cartodbfied tables in presence of views
10 years ago
Sandro Santilli 5602edd207 Make time interval test not dependent on intervalstyle
10 years ago
Sandro Santilli 967b7abec0 Try to retain existing cartodb_id values
10 years ago
Sandro Santilli 134d2d29b6 Try to cast TEXT typed updated_at and created_at if present
10 years ago
Sandro Santilli f98071cdac Do not allow cartodbfying tables while no user quota is set
11 years ago
Sandro Santilli b69ded8f66 Let CDB_CheckQuota second parameter override configured user quota
11 years ago
Sandro Santilli acf3097c3a Add CDB_SetUserQuotaInBytes function
11 years ago
Sandro Santilli 1c753b24e5 Do not assume existance of a "publicuser" role
11 years ago
Sandro Santilli d1a767f343 Re-add the test/Makefile which was available while in cartodb/lib/sql
11 years ago
Sandro Santilli 0960276046 Import cartodb/lib/sql/test, add search_path tweaker
11 years ago