Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb67f1ce

Browse files
committed
Reduce json <=> jsonb casts from explicit-only to assignment level.
There's no reason to make users write an explicit cast to store ajson value in a jsonb column or vice versa.We could probably even make these implicit, but that might open us upto problems with ambiguous function calls, so for now just do this.
1 parente5f3690 commitb67f1ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/*yyyymmddN */
56-
#defineCATALOG_VERSION_NO201503011
56+
#defineCATALOG_VERSION_NO201503031
5757

5858
#endif

‎src/include/catalog/pg_cast.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ DATA(insert ( 1562 1562 1687 i f ));
360360
DATA(insert (170017001703if ));
361361

362362
/* json to/from jsonb */
363-
DATA(insert (11438020ei ));
364-
DATA(insert (38021140ei ));
363+
DATA(insert (11438020ai ));
364+
DATA(insert (38021140ai ));
365365

366366
#endif/* PG_CAST_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp