Raul Ochoa
415d96082e
Release 0.17.0
2016-07-04 13:25:09 +02:00
Raul Ochoa
2b24390a8a
Do not raise anything on existing columns
2016-07-01 12:56:44 +02:00
Raul Ochoa
69f04bb8b0
Add export config for cdb_analysis_catalog table
...
Closes #251
2016-07-01 12:36:07 +02:00
Raul Ochoa
c96bf7c7d5
Do not use plpgsql language
2016-07-01 12:34:40 +02:00
Raul Ochoa
15a8876d06
Rename to last_* pattern
2016-07-01 12:25:05 +02:00
Raul Ochoa
89e991aae9
Document new fields
2016-07-01 12:24:44 +02:00
Raul Ochoa
064b26ccd3
Add some extra fields to cdb_analysis_catalog table
...
Track user, error_message for failures, and last entity modifying the node.
2016-07-01 12:13:31 +02:00
Raul Ochoa
897689dd43
Release 0.16.0
2016-04-19 15:44:37 +02:00
Raul Ochoa
de5a702510
Adds table for storing camshaft analysis nodes
2016-04-18 17:41:39 +02:00
Raul Ochoa
1853ee6306
Do not use random() for the distribution to test CDB_Stats functions
...
Fixes #144
2015-09-09 17:08:32 +02:00
Raul Ochoa
0ec579984b
Stubs next version
2015-09-07 13:17:22 +02:00
Raul Ochoa
c6f2903221
Release 0.10.0
2015-09-07 13:16:27 +02:00
Raul Ochoa
03f42e36c9
Update news and bump version
2015-09-07 13:02:05 +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
25cf48d4a4
Raise min message so we don't have to validate notices
2015-09-04 00:02:30 +02:00
Raul Ochoa
29efdf2ee7
Fix symlink for CDB_Stats.sql
2015-09-04 00:00:30 +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
afecef0e31
Removing redundant ::regclass casting
2015-09-02 12:25:44 +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
50169e58d5
Raise better notice on _CDB_total_relation_size errors
2015-08-17 10:25:31 +02:00
Raul Ochoa
6bc91c7125
Using exception with pg_total_relation_size for better performance
...
IF EXISTS is too slow, one order of magnitude, than using exception
handling. In combination with thousands of tables to check total
relation size that's a problem.
Exception handles specifically undefined_table as it was the original
issue but also any other exception to guarantee a size is always
returned and no error is raised.
2015-08-17 10:17:07 +02:00
Raul Ochoa
e959bba335
Validates it's enought to grant publicuser to user.
...
Reference to PR where it will be actually fixed for now.
2015-08-13 18:53:41 +02:00
Raul Ochoa
714ba9d0dc
Keep all test running :D
2015-08-13 13:27:27 +02:00
Raul Ochoa
4e31d3a37e
Fixes CDB_UserDataSize failing due ERROR: relation "*" does not exist.
...
Adds new _CDB_total_relation_size function that handles nonexistent
tables and does fallback to size=0.
That function could be used to cache total relation size or query another
table view with a cached total relation size.
Fixes #108
2015-08-13 13:23:35 +02:00
Raul Ochoa
14213c5d6a
Test scenario to show how public tables can be accessed by other roles
...
This will require changes in cartodb/cartodb rails app because user/role
creation happens over there. So it's not possible to fix all the problems
within the extension right now.
2015-08-12 10:10:21 +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
Raul Ochoa
b913defebb
Stubs next version
2015-02-19 14:34:32 +01:00
Raul Ochoa
978742f868
Release 0.7.0
2015-02-19 14:33:21 +01:00
Raul Ochoa
cb61fd8747
Enable DB_ZoomFromScale
2015-02-19 14:24:10 +01:00
Raul Ochoa
ebcca141bd
Adds CDB_ZoomFromScale function. Closes #62
2015-02-19 14:20:35 +01:00
Raul Ochoa
9d679614c8
Stubs next version
2015-02-19 14:11:54 +01:00
Raul Ochoa
bebebc255a
Release 0.6.0
2015-02-19 14:10:15 +01:00
Raul Ochoa
11bf7f6fdf
Fix release notes for 0.5.3
2015-02-19 14:09:49 +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
f18232037d
Release notes and version bump
2015-02-18 17:31:04 +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
Raul Ochoa
38fe98d983
Merge branch 'master' into remove-grant-select-from-cdb_tablemetadata-to-public
2015-02-18 15:43:16 +01: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
Raul Ochoa
5a3b93fd6b
Release 0.4.0
2014-08-27 14:34:37 +02:00
Raul Ochoa
eaee6d3d70
Merge pull request #53 from CartoDB/CDB-3504
...
New versioning mechanism
2014-08-25 17:12:57 +02:00
Raul Ochoa
7840e7c50b
Prepares version 0.4.0 with new versioning mechanism
2014-08-25 12:00:45 +02:00
Raul Ochoa
5b0a7bf9ad
Adds highlighting
2014-08-21 19:05:15 +02:00
Raul Ochoa
2ef6d5901e
Fixes typos
2014-08-21 19:05:04 +02:00
Raul Ochoa
3d37b3646e
Renames files to take advantage of markdown
2014-08-21 19:01:19 +02:00
Raul Ochoa
51d48c7629
CDB-3656 Removes revision from the extension version
2014-08-21 18:52:21 +02:00
Raul Ochoa
25a0e5ec68
Stubs next version
2014-08-21 18:41:09 +02:00
Raul Ochoa
daa61a6aa8
Merge pull request #52 from CartoDB/CDB-3483
...
Adds CDB_Math_Model
2014-08-21 17:48:36 +02:00
Raul Ochoa
41a2c7363e
Merge tag '0.3.6' into cdb
...
Release 0.3.6
2014-08-11 16:39:20 +02:00
Raul Ochoa
45d07bc5a8
Release 0.3.6
2014-08-11 16:38:41 +02:00
Raul Ochoa
55615e1a32
Stubs next version
2014-08-11 16:18:02 +02:00
Raul Ochoa
4b397d6bc0
Merge tag '0.3.5'
...
Release 0.3.5
2014-08-11 16:16:50 +02:00
Raul Ochoa
8349e3c94c
Merge tag '0.3.5' into cdb
...
Release 0.3.5 fixed
2014-08-11 16:14:00 +02:00
Raul Ochoa
a747f16ecc
Fixes release dates
2014-08-11 16:13:04 +02:00
Raul Ochoa
93de996acc
Fixes 0.3.5 version:
...
- Version in Makefile
- Upgrade path from 0.3.4
2014-08-11 15:41:53 +02:00
Raul Ochoa
a98b100182
Ignore idea ide based settings
2014-08-11 15:41:33 +02:00
Raul Ochoa
a67f324001
Release 0.3.4 version
2014-08-01 18:21:48 +02:00
Raul Ochoa
5bb638b995
Merge pull request #45 from CartoDB/CDB-3743
...
CDB_QueryTables returns only results for schemas associated to Relation-Names
2014-08-01 18:14:53 +02:00
Raul Ochoa
2637742c2e
CDB-3743 Makes CDB_QueryTables to return only results for schemas associated to Relation-Names
2014-08-01 18:06:06 +02:00
Raul Ochoa
a9005dc93c
Updates apt-get so it can pick up latest postgres packages
2014-07-28 15:49:43 +02:00
Raul Ochoa
e81a75b716
Make 0.3.0dev version upgradeable
2014-07-28 15:39:19 +02:00
Raul Ochoa
f1504fb0b1
Make dev flavour upgradeable to current version
2014-07-17 15:43:19 +02:00
Raul Ochoa
13140dbc63
Version 0.3.0
2014-07-16 12:30:19 +02:00
Raul Ochoa
2bd0b223a6
CDB_SetUserQuotaInBytes returning set value instead of previous value.
2014-07-07 10:36:51 +02:00
Raul Ochoa
5806ac8f8d
Force schema so it can calculate the size of the database with the proper schema
2014-07-04 18:50:46 +02:00
Raul Ochoa
1573a199c8
Merge remote-tracking branch 'origin/delete_permission' into CDB-3094
2014-06-27 01:37:53 +01:00
Raul Ochoa
558be8b693
CDB-3094 DELETE permission for read-write rule
2014-06-27 00:01:25 +01:00
Raul Ochoa
b98419aeb8
Merge remote-tracking branch 'rambo/cdb_querytables_support_schemas' into CDB-3094
2014-06-26 08:12:41 +02:00
Raul Ochoa
84174c4f71
CDB-3094 no hardcoded coloring output by creating a new log_warning function
2014-06-25 12:43:46 +02:00
Raul Ochoa
55efde5039
CDB-3094 Makes organization member group role name unique to database by using the database name md5 hash
2014-06-25 12:38:14 +02:00
Raul Ochoa
8624dd1a00
CDB-3094 Improves bash test runner by displaying failing tests after execution
2014-06-25 12:37:09 +02:00
Raul Ochoa
12e90ef6a4
CDB-3094 Adds cdb_org_member role group and functions to handle access to tables through it
2014-06-24 19:56:17 +02:00
Raul Ochoa
625b01ed56
CDB-3094 Removes for now the role groups management as it is not clear if we need them
2014-06-19 20:16:10 +02:00
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
2014-06-19 20:16:10 +02:00
Raul Ochoa
2743b1767b
Merge branch 'master' of https://github.com/CartoDB/cartodb-postgresql into CDB-3094
2014-06-17 11:44:34 +02:00
Raul Ochoa
b69b2fbdcf
CDB-3094 enables organizations functions
2014-06-17 11:43:38 +02:00
Raul Ochoa
8dec91de87
Merge branch 'master' of https://github.com/CartoDB/cartodb-postgresql into CDB-3094
2014-06-16 18:56:34 +02:00
Raul Ochoa
fb68f225d5
CDB-3094 no hardcoded database. it also creates the database between tests and the cartodb schema to install the functions
2014-06-16 17:13:13 +02:00
Raul Ochoa
9d7de169fb
CDB-3094 use bash command instead of sh
2014-06-16 16:28:28 +02:00
Raul Ochoa
9a55b03d6f
CDB-3094 initial function to share tables/schemas between users within the same database
2014-06-16 16:10:53 +02:00
Raul Ochoa
3fb1f69eb1
CDB-3086 adds troubleshooting section to readme with information about mac os x sed
2014-06-04 12:52:51 +02:00