Re: Insertion of geometric type column with column[0], column[1] and etc. - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Insertion of geometric type column with column[0], column[1] and etc.
Date
Msg-id AANLkTi=Vq2sR1gCWGgO2giFiPDUWGcn2BW66j8yaXKP8@mail.gmail.com
Whole thread Raw
In response to Re: Insertion of geometric type column with column[0], column[1] and etc.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Insertion of geometric type column with column[0], column[1] and etc.
List pgsql-hackers
On Mon, Oct 4, 2010 at 10:50 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Marcelo Zabani <mzabani@gmail.com> writes:
>> While I have emphasized the POINT data type, it would be desirable that all
>> types in pgsql could be accessed/updated/inserted with the array-analogy (or
>> other analogy), so that we could easily map ANYTHING with ORM software these
>> days.
>
> Surely it would be better to get an ORM that can actually deal with the
> data types you wish to use.

*scratches head*

Yeah, but isn't the current behavior awfully flaky?  ISTM that if you
insert into a subscripted column, you should either get an error, or
your data should end up in the table somewhere.  Sending it merrily
off into the void is ... well, words fail me.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: is sync rep stalled?
Next
From: KaiGai Kohei
Date:
Subject: Re: Bug / shortcoming in has_*_privilege