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

From Tom Lane
Subject Re: hstores in pl/python
Date
Msg-id 8274.1292255722@sss.pgh.pa.us
Whole thread Raw
In response to Re: hstores in pl/python  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: hstores in pl/python  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
>> 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.

We don't normally invent specialized syntax for a specific datatype.
Not even if it's in core.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: initdb failure with Postgres 8.4.4
Next
From: Tom Lane
Date:
Subject: Re: initdb failure with Postgres 8.4.4