Re: FW: BUG #17258: Unexpected results in CHAR(1) data type

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: FW: BUG #17258: Unexpected results in CHAR(1) data type
Дата
Msg-id CAKFQuwYCKt3Qncx-YiRg1QRSDx4DROARgtFQWZmNPbWneQbicA@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #17258: Unexpected results in CHAR(1) data type  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
On Fri, Oct 29, 2021 at 2:06 PM David M. Calascibetta <david@calascibetta.com> wrote:

I disagree about it being a feature request.

I was only using substr to demonstrate the problem.

Here is the problem without using any functions:

 

create table x (a char(1));

insert into x values ('x');

insert into x values (' ');

select length(a) from x;

1

0

 


If length(a) isn't a function call then what is it?

David J.

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

Предыдущее
От: "David M. Calascibetta"
Дата:
Сообщение: RE: FW: BUG #17258: Unexpected results in CHAR(1) data type
Следующее
От: Kamigishi Rei
Дата:
Сообщение: Re: BUG #17245: Index corruption involving deduplicated entries