Jesús Arroyo Torrens
edbefad6b0
Remove DO Python code and SQL tests
4 years ago
antoniocarlon
861bef0382
Fixed badly generated client scripts
5 years ago
Raul Marin
a30ba351cf
Qualify extension calls
5 years ago
Raul Marin
33b723fa3d
Set safe path
5 years ago
antoniocarlon
bafa60303c
Added data observatory permission
6 years ago
antoniocarlon
5989cb1dff
Fixed exception safe functions
6 years ago
antoniocarlon
5307078171
Added CR suggestions
6 years ago
antoniocarlon
b6d37c6773
Managing public api key permissions
6 years ago
antoniocarlon
d5864ccada
Using ERRCODE
6 years ago
antoniocarlon
0bdba67342
Using ERRCODE
6 years ago
antoniocarlon
08daa6a6a2
Changed error message
6 years ago
antoniocarlon
f5ad0290b4
Fixed functions
6 years ago
antoniocarlon
4b6b4e92e8
CR suggestions (remove appname)
6 years ago
antoniocarlon
ca717ed123
Fixed permission check
6 years ago
antoniocarlon
56c975fef1
Added appname parameter
6 years ago
antoniocarlon
393da56964
Updated exception safe private functions
6 years ago
antoniocarlon
17dc3ad1c7
Updated exception safe private functions
6 years ago
antoniocarlon
a09d18a6ee
Fixing template
6 years ago
antoniocarlon
d43c9461b1
Fixing template
6 years ago
antoniocarlon
2a2ae481fb
Permissions check and client templates
6 years ago
antoniocarlon
652242a8f8
Permissions check and client templates
6 years ago
Juan Ignacio Sánchez Lara
b0c1948c14
TL;DR: safer deployment and minor fixes
...
- Instead of modifying cdb_service_quota_info to return max_batch_size,
a new type (service_quota_info_batch) and a new function
(cdb_service_quota_info_batch) are created. That makes deployment safe.
- Fixes geocoding with forced batch size 1.
- Improves namespacing for count_estimate (->
cdb_dataservices_client.cdb_count_estimate).
- Improves namespacing for jsonb_array_casttext (->
cdb_dataservices_client.cdb_jsonb_array_casttext).
6 years ago
Juan Ignacio Sánchez Lara
8fe9903e7a
searchtext -> searches for bulk geocoding
6 years ago
Juan Ignacio Sánchez Lara
e85f43f1d1
cdb_bulk_geocode_street_point skeleton
6 years ago
Juan Ignacio Sánchez Lara
34fc6439d2
cdb_bulk_geocode_street_point functions
6 years ago
Antonio
da7d43cc08
Added client functions (untested)
7 years ago
Antonio
15340fedad
Added cdb_dataservices_client functions
7 years ago
Rafa de la Torre
feff20ac5a
Use params_with_type to avoid DEFAULT #417
7 years ago
Rafa de la Torre
4c996733ce
Fix for client upgrade #417
7 years ago
Raul Marin
80fc32e1ea
Categorize renderer template functions
7 years ago
Mario de Frutos
e68cc3e820
OBS_GetAvailableGeometries now has number of geometries parameter
...
We've add a new parameter, number of geometries, that would be used
by DO to compute the geometry that better fit with the input provided
7 years ago
Mario de Frutos
3eee68c56e
_OBS_Precheck and OBS_MetadataValidator
...
New functions to perform a precheck for the user data and metadata
parameters that are going to be used to execute a OBS_GetData operation.
Doing this before the OBD_GetData we are able to check if we're going to
have problems with the current request. Is useful because right now
we're using the *_Exception_Safe functions which return NULL in case we
have an exception, this leads to execute the whole request even if we
know beforehand that it's going to fail.
7 years ago
Mario de Frutos
1ffbba2a03
New DO function _OBS_GetNumerators
7 years ago
Rafa de la Torre
074234b8da
Use double precision as numeric type
...
As shown in the tests, that type has the flexibility of being able to be
cast to from any other numeric type. This gives us flexibility without
bloating the API with lots of type-specific functions.
7 years ago
Rafa de la Torre
e123079e92
Add support for integer postal codes in client
7 years ago
Javier Goizueta
e247fda694
Fix superuser template functions
...
Superuser functions were overriding their user/org parameters with the
values from the database/role, so the user was incorrect.
8 years ago
Javier Goizueta
4b18e1f601
Rename variable
8 years ago
Javier Goizueta
970d828768
Remove unneeded ERB options
8 years ago
Javier Goizueta
39878ef542
Rename some template functions internal terms
...
* credentials => user_org
* private => superuser
8 years ago
Javier Goizueta
7101c8d8e8
Expose client-side rate limit configuration interface
...
The client functions to make configuration changes are not publicly available
(require a super user) and they have username, orgname parameters like the
server-sixe functions
8 years ago
John Krauss
e81f005ce9
adding server tests, interface to generate client sql code
8 years ago
Rafa de la Torre
cd653bc496
Add diagnostics info to rest of cases #314
8 years ago
Rafa de la Torre
610cfaab57
Move exception info vars to the top #314
8 years ago
Rafa de la Torre
58b1713a0d
Make the functions private #314
8 years ago
Rafa de la Torre
842be0ba85
Add diagnostics info to warning #314
8 years ago
Rafa de la Torre
dbd5911a2a
Implement the multi_field case #314
8 years ago
Rafa de la Torre
e53a39875e
Implement the multi_row case #314
8 years ago
Rafa de la Torre
4cd72616ca
Fix the no multi_row, no multi_field case #314
...
Fix for the `ERROR: control reached end of function without RETURN` but
now need to implement for the two other cases.
8 years ago
Rafa de la Torre
fae7889fe3
First take at producing exception-safe functions #314
8 years ago
Rafa de la Torre
9c6eabc59e
Do not enforce types for params #302
...
As types are tied to a schema, they don't get along very well with
pl/proxy. Do not use them for the service_type.
8 years ago