Created
September 11, 2015 16:03
-
-
Save dgillis/2df7e7c78818ca1f7cd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table tbl (id serial primary key, obj jsonb); | |
select json_populate_record(null::tbl, '{"id": 1, "obj": {"id": 8}}'); | |
-- ERROR: invalid input syntax for integer: "{"id": 8" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment