Skip to content

Commit

Permalink
fix: Jsonb casting error was corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim-Changhyun committed Nov 12, 2020
1 parent 2cdf5a8 commit 3b08a58
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/include/catalog/pg_cast.h
Expand Up @@ -396,6 +396,17 @@ DATA(insert ( 3802 114 0 a i ));
DATA(insert ( 7012 3802 7019 i f ));
DATA(insert ( 7022 3802 7029 i f ));

/* coercions between jsonb and bool */
DATA(insert ( 3802 16 7191 a f ));

This comment has been minimized.

Copy link
@emotionbug

emotionbug Apr 28, 2021

Contributor

this is not implemented.

DATA(insert ( 16 3802 7192 i f ));

/* assignment coercion from jsonb to int8/int4 */
DATA(insert ( 3802 20 7193 a f ));
DATA(insert ( 3802 23 7194 a f ));
/* explicit coercion from jsonb to numeric/float8 */
DATA(insert ( 3802 1700 7195 e f ));
DATA(insert ( 3802 701 7196 e f ));

/* implicit coercion from numeric to graphid */
DATA(insert ( 1700 7002 7245 i f ));

Expand Down

0 comments on commit 3b08a58

Please sign in to comment.