Re: error on drop table

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: error on drop table
Date: 2001-11-29 00:14:52
Message-ID: 3C057DFC.7050101@selectacast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

To reproduce:

create table table1 ( list text, ukey int);
insert into table1 values( '1', 1);
insert into table1 values( '2', 2);
insert into table1 values( '3', 3);
insert into table1 values( '4', 4);
insert into table1 values( '5', 5);

SELECT list,ukey INTO temporary tqt FROM table1;
BEGIN;
DECLARE cname CURSOR FOR SELECT list, ukey FROM tqt ;
FETCH 10 from cname;
DROP TABLE tqt;
END;

Tom Lane wrote:

> Joseph Shraibman <jks(at)selectacast(dot)net> writes:
>
>>NOTICE: FlushRelationBuffers(tqt, 0): block 0 is referenced (private 1, global 1)
>>ERROR: heap_drop_with_catalog: FlushRelationBuffers returned -2
>>
>
> Hmm, can you provide a sequence to reproduce this?
>
> regards, tom lane
>

--
Joseph Shraibman
jks(at)selectacast(dot)net
Increase signal to noise ratio. http://www.targabot.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dado Feigenblatt 2001-11-29 00:41:35 ident authorization (was backup: pg_dumpall and full backups in general)
Previous Message Roderick A. Anderson 2001-11-29 00:10:48 Warm Fuzzy Feeling!