Re: Some array semantics issues - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Some array semantics issues
Date
Msg-id 87wtj8s4fe.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: Some array semantics issues  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Some array semantics issues
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Well, in that case what do you think about
>     {{1,2},{3,4},{5,6},{7,8}}
> vs
>     {{1,2,3,4},{5,6,7,8}}

In the first case the first element is {1,2} and in the second case the first
element is {1,2,3,4} so from my point of view there's no way these are the
same.

None of the three use cases I conjured would want them considered equal, which
isn't to say there isn't some data structure somewhere out there which would,
but I haven't thought of it.

-- 
greg



pgsql-hackers by date:

Previous
From: Yann Michel
Date:
Subject: Re: PG_DUMP and table locking in PG7.4
Next
From: Tom Lane
Date:
Subject: Re: Some array semantics issues