Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. select
  2. '[1,2,3]'::json->2 as "->",
  3. pg_typeof('[1,2,3]'::json->2) as "-> type",
  4. '[1,2,3]'::json->>2 as "-->",
  5. pg_typeof('[1,2,3]'::json->>2) as "--> type"
  6. ;
  7. -> | -> type | --> | --> type
  8. ----+---------+-----+----------
  9. 3 | json | 3 | text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement