Re: inserting json content from a file into table column

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: inserting json content from a file into table column
Дата
Msg-id 56BB55C1.4060305@aklaver.com
обсуждение исходный текст
Ответ на inserting json content from a file into table column  (Shashank Dutt Jha <shashank.dj@gmail.com>)
Ответы Re: inserting json content from a file into table column  (Shashank Dutt Jha <shashank.dj@gmail.com>)
Список pgsql-sql
On 02/10/2016 07:10 AM, Shashank Dutt Jha wrote:
> I have .json file.C:/ a.json
> Table with column 'food' of type jsonb
>
> how to insert the content of a.json into column 'food'

What are you using as your client, for example psql, Java program, 
Python program, etc.?

What version of Postgres are you using? In this case it probably does 
not matter that much, but json/jsonb has changed a good deal over recent 
versions so it is nice to know what you are working with.


-- 
Adrian Klaver
adrian.klaver@aklaver.com



В списке pgsql-sql по дате отправления:

Предыдущее
От: Shashank Dutt Jha
Дата:
Сообщение: inserting json content from a file into table column
Следующее
От: Shashank Dutt Jha
Дата:
Сообщение: Re: inserting json content from a file into table column