Re: 9.4 Proposal: Initdb creates a single table - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: 9.4 Proposal: Initdb creates a single table
Date
Msg-id 20140423172650.GO25695@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: 9.4 Proposal: Initdb creates a single table  (Josh Berkus <josh@agliodbs.com>)
Responses Re: 9.4 Proposal: Initdb creates a single table  (David Fetter <david@fetter.org>)
List 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 by date:

Previous
From: Josh Berkus
Date:
Subject: Re: 9.4 Proposal: Initdb creates a single table
Next
From: Alvaro Herrera
Date:
Subject: Re: MultiXactId error after upgrade to 9.3.4