Re: problem with array of boxes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andre Radke <lists(at)spicynoodles(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: problem with array of boxes
Date: 2002-03-14 19:45:00
Message-ID: 17086.1016135100@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Andre Radke <lists(at)spicynoodles(dot)net> writes:
> I have run into a problem with the array of boxes datatype.

After a little poking at this, it seems that some parts of the array
support code may be failing to pay attention to "typdelim". Type box
has typdelim set to ';' (it's the only standard datatype whose typdelim
is not ','). Changing that to ',' made the behavior less unexpected.
Haven't dug into the code yet for a proper fix.

This does beg the question of whether box's typdelim should be ';'
rather than the standard ','. I can see why that was done: box likes
to use commas in its text representation. But I really wonder how
much client code will be prepared to cope with arrays represented
with ';' not ',' between items ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message raanders 2002-03-14 20:06:13 Re: temporary file location?
Previous Message David Siebert 2002-03-14 19:42:36 Re: PostgreSQL the right choice?

Browse pgsql-hackers by date

  From Date Subject
Next Message Arguile 2002-03-14 20:03:39 Re: Client/Server compression?
Previous Message David Siebert 2002-03-14 19:42:36 Re: PostgreSQL the right choice?