On 02/10/2016 08:01 AM, Shashank Dutt Jha wrote: psql. PostgreSQL v9.5 A quick and dirty method: aklaver@test=> create table json_test(id integer, json_fld jsonb); CREATE TABLE aklaver@test=> \e sample.json \e opens an editor. Inside editor add INSERT statement to file: INSERT INTO json_test VALUES(1, ' { "glossary": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList": { "GlossEntry": { "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": { "para": "A meta-markup language, used to create markup languages such as DocBook.", "GlossSeeAlso": ["GML", "XML"] }, "GlossSee": "markup" } } } } }');
psql. PostgreSQL v9.5
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных