[BUGS] BUG #3675: Crash on xpath function with 2 parameters

2007-10-13 Thread Jeremy Palmer
The following bug has been logged online: Bug reference: 3675 Logged by: Jeremy Palmer Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3b1 Operating system: WinXP SP2 Description:Crash on xpath function with 2 parameters Details: The following query crashes

Re: [BUGS] BUG #3675: Crash on xpath function with 2 parameters

2007-10-13 Thread Kris Jurka
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

Re: [BUGS] BUG #3675: Crash on xpath function with 2 parameters

2007-10-13 Thread Tom Lane
Kris Jurka [EMAIL PROTECTED] writes: On Sat, 13 Oct 2007, Jeremy Palmer wrote: 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. Hmm, I wonder why