=?UTF-8?B?SmFuIFVyYmHFhHNraQ==?= <wulczer(at)wulczer(dot)org> writes:
> PS: I'm wondering if there's any noticable slowdown from always starting
> a subxact before doing SPI. Plperl users seemed not to notice, so I
> guess I shouldn't worry.
It's not cheap :-( ... but it's *necessary*. There's no other way to
get sane behavior.
If the cost annoys you, you should put some effort into making subxact
start/stop cheaper overall, rather than trying to avoid having one here.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Robert Haas||Date: 2010-11-05 15:11:04|
|Subject: Re: ALTER TABLE ... IF EXISTS feature?|
|Previous:||From: Tom Lane||Date: 2010-11-05 14:49:36|
|Subject: Re: ALTER TABLE ... IF EXISTS feature? |