Re: Split_part on a CR

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Split_part on a CR
Дата
Msg-id 11344.1353355159@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Split_part on a CR  (Jeff Ross <jross@wykids.org>)
Ответы Re: Split_part on a CR  (Jeff Ross <jross@wykids.org>)
Список pgsql-general
Jeff Ross <jross@wykids.org> writes:
> Hi,
> I'm having a hard time figuring out how to use split_part with a
> carriage return (hex 0a) as the delimiter.

Um, 0x0a is line feed last I checked.  But you should be able to write
the literal as E'\r' (if you wanted CR) or E'\n' (if you wanted LF).

            regards, tom lane


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

Предыдущее
От: Thomas Hill
Дата:
Сообщение: Re: Experiences with pl/Java
Следующее
От: Gary Chambers
Дата:
Сообщение: Re: Split_part on a CR