Re: 9.4 Proposal: Initdb creates a single table

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: 9.4 Proposal: Initdb creates a single table
Дата
Msg-id 20140423172650.GO25695@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: 9.4 Proposal: Initdb creates a single table  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: 9.4 Proposal: Initdb creates a single table  (David Fetter <david@fetter.org>)
Список pgsql-hackers
Josh Berkus wrote:
> On 04/23/2014 07:43 AM, Alexander Korotkov wrote:
> > I can propose contrib PostgreNoSQL providing following:
> > 1) Table postgres as you proposed.
> > 2) Functions: get_postgres(id intgeger) returns jsonb, set_postgres(id
> > integer, data jsonb) returns void, search_postgres(query jsonb) returns
> > setof postgres. search_postgres will have semantics of @> jsonb operator
> > 3) Background workers which provides HTTP wrapper over those functions.
> 
> You're forgetting ... sharding/replication over multiple masters.
> 
> Also, the id should be a text value so that folks can use hash keys, or
> whatever.

We should totally have a type "uuidserial".

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: 9.4 Proposal: Initdb creates a single table
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: MultiXactId error after upgrade to 9.3.4