Re: Patch: Cover POSITION(bytea,bytea) with tests

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: Patch: Cover POSITION(bytea,bytea) with tests
Дата
Msg-id CAJ7c6TMHjxMaTq3o7tJH2SXXRkiakqXqWZMxwXyaHWpTAnQSrg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Patch: Cover POSITION(bytea,bytea) with tests  (Peter Smith <smithpb2250@gmail.com>)
Ответы Re: Patch: Cover POSITION(bytea,bytea) with tests
Re: Patch: Cover POSITION(bytea,bytea) with tests
Список pgsql-hackers
Hi Peter,

> Some minor comments:
>
> 1. I thought the new test cases should be located earlier in the file
> where there were already a couple of POSITION tests.
> (see "-- E021-11 position expression")
>
> 2. Maybe one of your test cases can be identical to the example from
> the docs [1].
> position('\x5678'::bytea in '\x1234567890'::bytea) → 3

Thanks.

Here is the corrected patch.

--
Best regards,
Aleksander Alekseev

Вложения

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