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).
This commit is contained in:
@@ -94,7 +94,11 @@ class Logger:
|
||||
else:
|
||||
exception_message = ''
|
||||
|
||||
# Adding trace breaks tests
|
||||
# trace = traceback.format_exc(15)
|
||||
# message = '{}{}. Trace: {}'.format(text, exception_message, trace)
|
||||
message = '{}{}'.format(text, exception_message)
|
||||
|
||||
if self._check_plpy():
|
||||
if level == 'debug':
|
||||
plpy.debug(message)
|
||||
|
||||
Reference in New Issue
Block a user