Re: Patch: Cover POSITION(bytea,bytea) with tests - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Patch: Cover POSITION(bytea,bytea) with tests
Date
Msg-id CAJ7c6TMHjxMaTq3o7tJH2SXXRkiakqXqWZMxwXyaHWpTAnQSrg@mail.gmail.com
Whole thread Raw
In response to Re: Patch: Cover POSITION(bytea,bytea) with tests  (Peter Smith <smithpb2250@gmail.com>)
Responses Re: Patch: Cover POSITION(bytea,bytea) with tests
Re: Patch: Cover POSITION(bytea,bytea) with tests
List 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

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: making EXPLAIN extensible
Next
From: Nathan Bossart
Date:
Subject: Re: Statistics Import and Export