Re: JSONB filed with default JSON from a file

Поиск
Список
Период
Сортировка
От Rob Sargent
Тема Re: JSONB filed with default JSON from a file
Дата
Msg-id 6d3ae18a-feee-5348-cbf4-c7ee87e8d381@gmail.com
обсуждение исходный текст
Ответ на Re: JSONB filed with default JSON from a file  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general

On 08/13/2018 12:11 PM, Tom Lane wrote:
> Merlin Moncure <mmoncure@gmail.com> writes:
>> On Mon, Aug 13, 2018 at 12:56 PM mrcasa bengaluru <mrcasablr@gmail.com> wrote:
>>> Thanks! However, this involves writing the entire JSON in the schema file looks inconvenient. I was hoping I would
beable to reference to an external JSON file which could be used for the default value.
 
>
I'm struggling with the notion of default address.  Is the point to get 
a "blank" json structure in place.  Perhaps to fill in later? Otherwise, 
it seems like saying the default name is "Bob"? Rarely the value wanted.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: JSONB filed with default JSON from a file
Следующее
От: Don Seiler
Дата:
Сообщение: Vacuum process waiting on BufferPin