| От | Stephen Frost |
|---|---|
| Тема | Re: jsonb and nested hstore |
| Дата | |
| Msg-id | 20140226045041.GL2921@tamriel.snowman.net обсуждение |
| Ответ на | Re: jsonb and nested hstore (Peter Geoghegan <pg@heroku.com>) |
| Список | pgsql-hackers |
* Peter Geoghegan (pg@heroku.com) wrote:
> On Tue, Feb 25, 2014 at 8:07 PM, Craig Ringer <craig@2ndquadrant.com> wrote:
> > Please also highlight that any change will require a full table rewrite
> > with an exclusive lock, so data type choices on larger tables may be
> > hard to change later.
>
> It sure looks like they're binary-coercible to me:
>
> + CREATE CAST (hstore AS jsonb)
> + WITHOUT FUNCTION AS IMPLICIT;
> +
> + CREATE CAST (jsonb AS hstore)
> + WITHOUT FUNCTION AS IMPLICIT;
>
> Is this okay?
Err, I'm not following this thread all *that* closely, but I was pretty
sure the issue was json vs. jsonb, and I'd be mighty confused as to wtf
was going on if those were binary-coercible...
Thanks,
Stephen
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера