On Sat, 13 Oct 2007, Jeremy Palmer wrote:
> The following bug has been logged online:
>
> Bug reference: 3675
> PostgreSQL version: 8.3b1
> Operating system: WinXP SP2
> Description: Crash on xpath function with 2 parameters
> Details:
>
> The following query crashes the backend:
>
> SELECT xpath('/my:a/text()', '<my:a
> xmlns:my="http://example.com">test</my:a>');
>
This patch avoids the double free of xpathcomp and fixes things for me.
Kris Jurka