AW: [HACKERS] Re: is it a bug?

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: [HACKERS] Re: is it a bug?
Дата
Msg-id 11C1E6749A55D411A9670001FA68796336814E@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Oracle-compatible lpad/rpad behavior
Список pgsql-general
> lpad and rpad never truncate, they only pad.
>
> Perhaps they *should* truncate if the specified length is less than
> the original string length.  Does Oracle do that?

Yes, it truncates, same as Informix.

Andreas

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