"Command Prompt, Inc." <pgsql-general@commandprompt.com> writes:
> Just wondering if anyone knows the reason for the DELIMITER keyword in
> CREATE TYPE? The documentation states that it sets the value delimiter if
> you are creating an array data type, but setting this value to something
> other than a comma neither seems to affect the input nor output
> representation--that is, a comma still appears to be required on input,
> and displayed on output, regardless of what I set the DELIMITER to.
?? What was your test case exactly? A casual perusal of arrayfuncs.c
certainly looks like array_in and array_out use the specified delimiter
character, not a hardwired comma.
regards, tom lane