Re: JSONB filed with default JSON from a file - Mailing list pgsql-general

From Rob Sargent
Subject Re: JSONB filed with default JSON from a file
Date
Msg-id 6d3ae18a-feee-5348-cbf4-c7ee87e8d381@gmail.com
Whole thread Raw
In response to Re: JSONB filed with default JSON from a file  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: JSONB filed with default JSON from a file
Next
From: Don Seiler
Date:
Subject: Vacuum process waiting on BufferPin