<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 10, 2018 at 12:22 PM, Darafei "Komяpa" Praliaskouski <span dir="ltr"><<a href="mailto:me@komzpa.net" target="_blank">me@komzpa.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><span class=""><div><br></div></span><div>What you can try is to short-circuit ST_Expand to ST_Buffer for now. It's more expensive computationally, but for most practical use cases the box it produces should be similar to that of ST_Expand, and serialized geometry should produce the same box on both sides of serialization.</div><div> </div></div></div></blockquote></div><br clear="all"><div>Thanks for the tip. That seems to do the trick. Apart from the performance impact, can this cause any regression? FWIW PostGIS regression tests does not show any new failure, but anything specific I should test? With regard to performance impact, could it be material? And if so, in what circumstances?</div><div><br></div><div>Thanks,</div><div>Pavan</div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"> Pavan Deolasee                   <a href="http://www.2ndQuadrant.com/" target="_blank">http://www.2ndQuadrant.com/</a><br> PostgreSQL Development, 24x7 Support, Training & Services</div></div></div></div>
</div></div>