Re: fix for BUG #3720: wrong results at using ltree - Mailing list pgsql-hackers

From Nikita Glukhov
Subject Re: fix for BUG #3720: wrong results at using ltree
Date
Msg-id 943dc224-eb82-8abd-15c3-f4b516f89767@postgrespro.ru
Whole thread Raw
In response to Re: fix for BUG #3720: wrong results at using ltree  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: fix for BUG #3720: wrong results at using ltree  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On 30.03.2020 21:00, Tom Lane wrote:

Hence, new patch versions that do it like that.  (0002 is unchanged.)

I tried to simplify a bit loops in checkCond() by merging two of them into 
one with an explicit exit condition.  Also I added return statement after 
this loop, so it's now clear that we can't fall into next "while" loop.

The rest code in 0001 and 0002 is unchanged.
--
Nikita Glukhov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: extension patch of CREATE OR REPLACE TRIGGER
Next
From: Tom Lane
Date:
Subject: Re: fix for BUG #3720: wrong results at using ltree