Re: CREATE TYPE delimiter?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Command Prompt, Inc(dot)" <pgsql-general(at)commandprompt(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: CREATE TYPE delimiter?
Date: 2001-11-03 18:51:15
Message-ID: 2664.1004813475@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Command Prompt, Inc." <pgsql-general(at)commandprompt(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Command Prompt, Inc. 2001-11-03 19:13:07 Re: CREATE TYPE delimiter?
Previous Message Tom Lane 2001-11-03 18:43:25 Re: Sum(time) possible?