Re: Fwd: [BUGS] BUG #4953: Crash with xml functions

2009-07-30 Thread Alvaro Herrera
Giorgio Valoti wrote: > Hi, > I’m forwarding this mail exchange with Peter Eisentraut to the bugs > list. > pgSQL version: 8.4 > OS: Mac OS X 10.5.8 I can reproduce this, and the reason seems to be the same problem we fixed in core XML and that Tom was saying a couple of days ago that was present

Re: [BUGS] BUG #4945: Parallel update(s) gone wild

2009-07-30 Thread Dan Boeriu
Is there a workaround? To us this is pretty bad news; we receive updates from several partners and constantly update the counts like in the example I sent you... Obviously we can serialize the updates but that would be pretty sad thing to do in a database. Realistically - when will we see this

Re: [BUGS] BUG #4945: Parallel update(s) gone wild

2009-07-30 Thread Tom Lane
"Dan Boeriu" writes: > Attached is the reproducible test case - I was able to reproduce the problem > on 32 and 64 bit 8.3.6 and 8.4.0 RedHat 5.3 kernel 2.6.18-128.1.16.el5 #1 SMP I looked at this a bit. It's the same issue discussed at http://archives.postgresql.org/pgsql-bugs/2008-09/msg00045

Re: [BUGS] fix: plpgsql: return query and dropped columns problem

2009-07-30 Thread Pavel Stehule
2009/7/30 Tom Lane : > Jaime Casanova writes: >>> On Mon, Jul 20, 2009 at 10:09 AM, Alvaro Getting rid of the check on natts was "ungood" ... it needs to compare the number of undropped columns of both tupdescs. > >> patch attached > > This patch is *still* introducing more bugs than it

Fwd: [BUGS] BUG #4953: Crash with xml functions

2009-07-30 Thread Giorgio Valoti
Hi, I’m forwarding this mail exchange with Peter Eisentraut to the bugs list. pgSQL version: 8.4 OS: Mac OS X 10.5.8 Let me know any needed additional detail or how I can help, thank you in advance. Da: Peter Eisentraut Data: 29 luglio 2009 21:43:10 GMT+02:00 A: Giorgio Valoti Oggetto:

Re: [BUGS] fix: plpgsql: return query and dropped columns problem

2009-07-30 Thread Tom Lane
Jaime Casanova writes: >> On Mon, Jul 20, 2009 at 10:09 AM, Alvaro >>> Getting rid of the check on natts was "ungood" ... it needs to compare >>> the number of undropped columns of both tupdescs. > patch attached This patch is *still* introducing more bugs than it fixes. The reason is that it h

[BUGS] BUG #4955: ECPG produces incomplete code

2009-07-30 Thread Heiko Folkerts
The following bug has been logged online: Bug reference: 4955 Logged by: Heiko Folkerts Email address: heiko.folke...@david-bs.de PostgreSQL version: 8.4 Operating system: Windows XP Description:ECPG produces incomplete code Details: When compiling the following cod

Re: [BUGS] BUG #4925: "select ... for update" doesn't affect rows from sub-query

2009-07-30 Thread Steve Caligo
> On Thu, Jul 16, 2009 at 12:34 PM, Steve Caligo > wrote: >> 2) FIRST TRY, USING "UPDATE WHERE ID = ( SELECT )" >> The goal is to have two clients set their unique ID to a >> single/different >> row from the table. First, using "limit" in a slightly different way: > This is pretty clearly NOT the

Re: [BUGS] BUG #4925: "select ... for update" doesn't affect rows from sub-query

2009-07-30 Thread Robert Haas
On Thu, Jul 30, 2009 at 1:40 AM, Steve Caligo wrote: > Allowing FOR UPDATE in sub-queries has been rejected in this same thread, > you've also mentioned it your previous reply. > http://archives.postgresql.org/pgsql-bugs/2004-10/msg00150.php Um, I didn't write that email. That was Tom Lane. >> T