You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this module in couple with ngx_rds_json.
One of my table contains field with type 'interval'. When I want to build json page with simple select result of this table, I receive a broken json content.
It's because I have something like that inside a response:
... ,"postpone":00:00:02, ...
You treat postgres interval type as float for RDS.
src/resty_dbd_stream.h: rds_col_type_interval = 10 | rds_rough_col_type_float,
I am not familiar with RDS at all. May be in its conception it's all right, but not sure...
May be change rds_rough_col_type_float with rds_rough_col_type_str?
For me it solved the problem but I'm not sure that this is correct.
The text was updated successfully, but these errors were encountered:
I'm using this module in couple with ngx_rds_json.
One of my table contains field with type 'interval'. When I want to build json page with simple select result of this table, I receive a broken json content.
It's because I have something like that inside a response:
... ,"postpone":00:00:02, ...
You treat postgres interval type as float for RDS.
src/resty_dbd_stream.h: rds_col_type_interval = 10 | rds_rough_col_type_float,
I am not familiar with RDS at all. May be in its conception it's all right, but not sure...
May be change rds_rough_col_type_float with rds_rough_col_type_str?
For me it solved the problem but I'm not sure that this is correct.
The text was updated successfully, but these errors were encountered: