Re: hstores in pl/python

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org, Dmitriy Igrishin <dmitigr(at)gmail(dot)com>, Jan Urbański <wulczer(at)wulczer(dot)org>
Subject: Re: hstores in pl/python
Date: 2010-12-13 15:55:22
Message-ID: 8274.1292255722@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-12-13 15:58:52 Re: initdb failure with Postgres 8.4.4
Previous Message Alvaro Herrera 2010-12-13 15:53:54 Re: initdb failure with Postgres 8.4.4