pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Maxim Boguk <maxim.boguk@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5798: Some weird error with pl/pgsql procedure
Date: Tue, 14 Jun 2011 10:55:27 -0400
Message-ID: <28343.1308063327@sss.pgh.pa.us> (raw)
In-Reply-To: <BANLkTi=KvVsGfunz=v_6-qHVFk6AbOQeaw@mail.gmail.com>
References: <201012210248.oBL2m9sp090535@wwwmaster.postgresql.org>
	<AANLkTinq4ET1h3n7RznWVDTmMQBzBNnp=GvM=2zKDxa+@mail.gmail.com>
	<AANLkTi==2o9JPJwwfOsL2CnFpcw1YYy_AY_qCiKtg05W@mail.gmail.com>
	<AANLkTinzR3KOumGE_FBiBu8PWU=33guLrZW78qC+2KrV@mail.gmail.com>
	<AANLkTinvd10Qxzmnhn4881kZfqacZ4WpW2Vvt-peY=A6@mail.gmail.com>
	<28329.1298131693@sss.pgh.pa.us>
	<AANLkTimQ1qCbiUZJcA8h9BSFHvqaxygTk+nSV-i09s1p@mail.gmail.com>
	<AANLkTi=MLmN9pwmXat=GtrnwmNKixy_a8kFXDJY5BhRW@mail.gmail.com>
	<10910.1298236066@sss.pgh.pa.us>
	<AANLkTi=H3wOXQ+vx7mJEVkw5o=GcRiLbyTWBmUKLwb0b@mail.gmail.com>
	<26057.1298311836@sss.pgh.pa.us>
	<9875.1298334660@sss.pgh.pa.us>
	<BANLkTi=KvVsGfunz=v_6-qHVFk6AbOQeaw@mail.gmail.com>

Merlin Moncure <mmoncure@gmail.com> writes:
> I bumped into the 'virtual tuple' error on 9.0.3 on a completely
> unrelated query:

> create table foo(a int, b int);
> insert into foo select 1, 1 where not exists (select 1 from foo where
> a = 1 for update);

> 9.0.4 got rid of the error, but as there are no triggers or anything
> like that on the foo so I thought I'd post my findings here in case
> anyone else bumped into it.

I think most likely this has to do with commit
d5478c3391f8f1a243abbc3d9253aac3d6d3538e, and is unrelated (except
in the error message) to that trigger issue.

			regards, tom lane



view thread (17+ messages)

Message-ID: <28343.1308063327@sss.pgh.pa.us>
Permalink:  ../28343.1308063327@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28343.1308063327@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mmoncure@gmail.com, maxim.boguk@gmail.com, robertmhaas@gmail.com
  Subject: Re: BUG #5798: Some weird error with pl/pgsql procedure
  In-Reply-To: <28343.1308063327@sss.pgh.pa.us>
  References: <201012210248.oBL2m9sp090535@wwwmaster.postgresql.org> <AANLkTinq4ET1h3n7RznWVDTmMQBzBNnp=GvM=2zKDxa+@mail.gmail.com> <AANLkTi==2o9JPJwwfOsL2CnFpcw1YYy_AY_qCiKtg05W@mail.gmail.com> <AANLkTinzR3KOumGE_FBiBu8PWU=33guLrZW78qC+2KrV@mail.gmail.com> <AANLkTinvd10Qxzmnhn4881kZfqacZ4WpW2Vvt-peY=A6@mail.gmail.com> <28329.1298131693@sss.pgh.pa.us> <AANLkTimQ1qCbiUZJcA8h9BSFHvqaxygTk+nSV-i09s1p@mail.gmail.com> <AANLkTi=MLmN9pwmXat=GtrnwmNKixy_a8kFXDJY5BhRW@mail.gmail.com> <10910.1298236066@sss.pgh.pa.us> <AANLkTi=H3wOXQ+vx7mJEVkw5o=GcRiLbyTWBmUKLwb0b@mail.gmail.com> <26057.1298311836@sss.pgh.pa.us> <9875.1298334660@sss.pgh.pa.us> <BANLkTi=KvVsGfunz=v_6-qHVFk6AbOQeaw@mail.gmail.com> <28343.1308063327@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox