Re: Make length(char(n)) return 'true' length

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Make length(char(n)) return 'true' length
Дата
Msg-id 200402121858.i1CIwce12101@candle.pha.pa.us
обсуждение исходный текст
Ответ на Make length(char(n)) return 'true' length  (Gavin Sherry <swm@linuxworld.com.au>)
Список pgsql-hackers
Gavin Sherry wrote:
> I believe Tom applied this while you were away.

Oh, sorry, I see it now:
test=> select length('blah'::char(10)); length--------      4(1 row)

I did test this before placing it the queue, but I now realize I have
been testing regression installs, not command-line installs that I invoke
via psql manually.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Make length(char(n)) return 'true' length
Следующее
От: Gavin Sherry
Дата:
Сообщение: Re: Make length(char(n)) return 'true' length