Re: hstores in pl/python - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: hstores in pl/python
Date
Msg-id AANLkTikGHhnrhhmaVFVtgW+PND9Ss1B+jn458kPB+Z6i@mail.gmail.com
Whole thread Raw
In response to Re: hstores in pl/python  (Andres Freund <andres@anarazel.de>)
Responses Re: hstores in pl/python  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: hstores in pl/python  (Dmitriy Igrishin <dmitigr@gmail.com>)
List pgsql-hackers
>>
>> name and interface - hstore is designed as external module - a
>> internal class can be designed different.
> Could you actually name such a difference rather than pointing to some airily
> hint of one? That would make it way much easier to see where you want to go.

My idea is:

somevar['key'] = value
value = somevar['key'];

or with constructor

somevar = ARRAY[key1 => value1, key2 => value2, .. ]

or some similar.

Regards

Pavel Stehule


pgsql-hackers by date:

Previous
From: Aidan Van Dyk
Date:
Subject: Re: ALTER EXTENSION ... UPGRADE;
Next
From: Tom Lane
Date:
Subject: Re: proposal : cross-column stats