Re: CREATE TYPE delimiter?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE TYPE delimiter?
Дата
Msg-id 2664.1004813475@sss.pgh.pa.us
обсуждение исходный текст
Ответ на CREATE TYPE delimiter?  ("Command Prompt, Inc." <pgsql-general@commandprompt.com>)
Ответы Re: CREATE TYPE delimiter?
Список pgsql-general
"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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Command Prompt, Inc."
Дата:
Сообщение: Re: Sum(time) possible?
Следующее
От: Gunnar Lindholm
Дата:
Сообщение: Re: how do the pro's do this? (still a newbie)