N prefix and ::bpchar

Поиск
Список
Период
Сортировка
От oka
Тема N prefix and ::bpchar
Дата
Msg-id BLU0-SMTP226837524789BAB3134B87FBBE50@phx.gbl
обсуждение исходный текст
Ответы Re: N prefix and ::bpchar  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список pgsql-general
Hello, I am not good at English.

I have a question.

There are the following data.

create table chartbl
(
caseno int,
varchar5 varchar(5)
);
insert into chartbl values(1, ' ');
insert into chartbl values(2, '');

The same result with the following two queries is obtained.
select * from chartbl where varchar5 = ' '::bpchar -- ::bpchar
select * from chartbl where varchar5 = N' ' -- N prefix

Is this specification?
Does it continue not to change?


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

Предыдущее
От: Luca Ferrari
Дата:
Сообщение: Re: PGSQL: listing db/role and user/role relationships
Следующее
От: Stefan Keller
Дата:
Сообщение: Postgres as In-Memory Database?