Rafa de la Torre
c00d607ee2
Merge pull request #107 from CartoDB/new_cartodbfy_rtorre
...
Do not create timestamp columns/triggers on cartodbfy
9 years ago
Rafa de la Torre
8c41203db6
Fix for the_geom does not exist
...
When creating triggers, expectation is to have the columns the_geom and
the_geom_webmercator even if the source table does not have any geometry
columns. Populate it in the rewrite with NULL values and right types.
9 years ago
Rafa de la Torre
d6afdf751f
Do not create timestamp columns/triggers on cartodbfy
9 years ago
Paul Ramsey
1a1f45cdad
Add raster table calls, like the old function has
9 years ago
Paul Ramsey
b195aa4b68
Enable trigger addition routine
9 years ago
Paul Ramsey
0899c64d0b
Break routine into two halves
10 years ago
Paul Ramsey
c1bfef25e0
Fix no-op case error
10 years ago
Paul Ramsey
dd209d02f6
Use standard error message format
10 years ago
Paul Ramsey
614a446cba
Document functions a bit more
10 years ago
Paul Ramsey
8dc7f45cca
Re-use columns named 'cartodb_id' if the values of the
...
keys are in fact unique.
10 years ago
Paul Ramsey
74b7740892
Fix bug with missing non-geo columns in case where
...
geo columns are "perfect" to start w/.
10 years ago
Paul Ramsey
bb685795d5
Handle geometry column with no metadata SRID (grrr) but
...
a valid SRID on the geometry objects themselves
10 years ago
Paul Ramsey
14414c4bf3
Fix Rambo's test case, of a single geometry-only table
...
with no SRID in the metadata (thanks mate).
10 years ago
Paul Ramsey
f3c20ac2fb
First draft of new cartodbfy function (named CDB_CartodbfyTable2)
...
Still needs to be fully tested (partially tested now) using
the existing regression tests. Does not manage the timestamp
columns at this time.
10 years ago
Rafa de la Torre
1c9e5f241f
Fix upgrade of CDB_StringToDate function #73
10 years ago
Rafa de la Torre
61804187c8
Fix conversion of strings to datetimes #73
10 years ago
Kartones
0a3d08edc3
#revert-size_calc
10 years ago
Raul Ochoa
ebcca141bd
Adds CDB_ZoomFromScale function. Closes #62
10 years ago
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