Re: tsearch refactorings - Mailing list pgsql-patches

From Teodor Sigaev
Subject Re: tsearch refactorings
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: tsearch refactorings  ("Heikki Linnakangas" <[email protected]>)
List pgsql-patches
> I fixed this by making the left-field a uint32. There's no reason to
> arbitrarily limit it to 16-bits, and it won't increase the disk/memory
> footprint either now that QueryOperator and QueryOperand are separate
> structs.
...
> I added check_stack_depth() call to all recursive functions I found.
> Some of them might have a natural limit so that you can't force
> arbitrarily deep recursions, but check_stack_depth() is cheap enough
> that seems best to just stick it into anything that might be a problem.
Agreed.

--
Teodor Sigaev                                   E-mail: [email protected]
                                                    WWW: http://www.sigaev.ru/

pgsql-patches by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: tsearch refactorings
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: tsearch refactorings