Raul Ochoa
da7b3b7080
Adds CDB_TableMetadataTouch function to be able to upsert updated_at
...
value in cdb_tablemetadata
10 years ago
Raul Ochoa
38fe98d983
Merge branch 'master' into remove-grant-select-from-cdb_tablemetadata-to-public
10 years ago
Kartones
6c7706672f
#69 now using pg_relation_size
10 years ago
javi
519ea075d6
fixed reg exp
10 years ago
javi
0223d00a54
fixed security problem
10 years ago
Raul Ochoa
3cf62ecd2e
Do not grant select permission to public user
...
- Fake the behaviour in tests by switching between users
10 years ago
Rafa de la Torre
693b147ef1
Fix corner case (no tables) in CDB_UserDataSize #65
10 years ago
Rafa de la Torre
a4e42571cd
Add a comment to CDB_UserDataSize (from PR) #65
10 years ago
Rafa de la Torre
bf622ae5a6
Optimize CDB_UserDataSize (on behalf of @javisantana) #65
10 years ago
Kartones
dbb6f42b99
#1368 fixed escapings
10 years ago
Kartones
cd9e44b266
#1138 Fixed DDL triggers to properly use new cartodbfy signature, fixed cartodbfy to properly send params to check raster table
10 years ago
Kartones
fd9d79372f
#1138 Found issue with DDL triggers
10 years ago
Kartones
61b47617b8
#1138 fixes for specs
10 years ago
Kartones
3b5c1f65cb
#1138 Quota changes, raster import cartodbfication and quota spec
10 years ago
Kartones
b7c2336ae0
#1138 not counting raster overviews for quota
10 years ago
Kartones
f251e12d35
CDB-4418
10 years ago
javi
723a08e814
added CDB_Math_mode
10 years ago
Kartones
6c57640901
CDB-3870 replaced priority of qmax inside checkquota
10 years ago
Raul Ochoa
5bb638b995
Merge pull request #45 from CartoDB/CDB-3743
...
CDB_QueryTables returns only results for schemas associated to Relation-Names
10 years ago
Raul Ochoa
2637742c2e
CDB-3743 Makes CDB_QueryTables to return only results for schemas associated to Relation-Names
10 years ago
Kartones
679af1d4a3
CDB-3497 Finished stabilizing specs
10 years ago
Kartones
6d665ab163
CDB-3497 ongoing spec stabilization
10 years ago
Kartones
e5c8015e17
CDB-3497 Splitted
10 years ago
Kartones
f61d07518d
CDB-3497 ongoing splitting
10 years ago
Kartones
b5589fdf09
CDB-3497
10 years ago
Kartones
9500010a67
CDB-3497 Partial splitting
10 years ago
Raul Ochoa
2bd0b223a6
CDB_SetUserQuotaInBytes returning set value instead of previous value.
10 years ago
Raul Ochoa
5806ac8f8d
Force schema so it can calculate the size of the database with the proper schema
10 years ago
Kartones
1c86599f9d
CDB-3094 Discovered that EXECUTE FORMAT seems to quote schema names when it needs to
10 years ago
Kartones
3c5251e6c6
CDB-3303 Cartodbfication also supporting optional schemas
10 years ago
Kartones
3d595976f6
CDB-3302 CDB_CheckQuota now also accepts a schema name. Added a convenience method to check if a schema is valid or not
10 years ago
Kartones
021d922d84
CDB-3304 Method cdb_userdatasize now has schema_name param, and added backwards-compatible version without it
10 years ago
Luis Bosque
82f2e7336b
Quoted schema references in organization sql
10 years ago
Raul Ochoa
558be8b693
CDB-3094 DELETE permission for read-write rule
10 years ago
Raul Ochoa
b98419aeb8
Merge remote-tracking branch 'rambo/cdb_querytables_support_schemas' into CDB-3094
10 years ago
javi
da9b9a640f
CDB_QueryTables return tables with schema
10 years ago
Raul Ochoa
55efde5039
CDB-3094 Makes organization member group role name unique to database by using the database name md5 hash
10 years ago
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
625b01ed56
CDB-3094 Removes for now the role groups management as it is not clear if we need them
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.
...
- fixes tests to match new signature.
- does not revoke access to the schema when revoking access to a table. TODO
10 years ago
Raul Ochoa
8dec91de87
Merge branch 'master' of https://github.com/CartoDB/cartodb-postgresql into CDB-3094
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
...
Closes #38
10 years ago
Sandro Santilli
81bbfcbda8
Drop useless DEFAULT specification in plpgsql variable declarations
10 years ago
Sandro Santilli
f75c256b6e
Another full qualification of CDB_TransformToWebmercator in CDB_CartodbfyTable
10 years ago
Sandro Santilli
d52556c20e
Fully qualify call to CDB_TransformToWebmercator from CDB_CartodbfyTable
10 years ago
Sandro Santilli
f8180123eb
Grant permission to run table-info functions to public
...
This is needed as a way to migrate from versions < 0.2.0
See #36
10 years ago
Sandro Santilli
01ae7b8c10
Drop role management
...
Roles are not created anymore, previously private functions for table
information extraction (CDB_UserTables, CDB_TableIndexes, CDB_ColumnNames,
CDB_ColumnType) will now be callable by anyone while only returning
information about tables over which the calling user has SELECT privilege.
Closes #36
10 years ago
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.
10 years ago
Sandro Santilli
a92d7d7d37
Add cdb_extension_reload() utility function
10 years ago