Unix Technical Forum

failed to re-find parent key in "..." for deletion target page

This is a discussion on failed to re-find parent key in "..." for deletion target page within the pgsql Bugs forums, part of the PostgreSQL category; --> I was doing some testing with tsearch2 on my dev box and I've run across this problem. I created ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 11:00 AM
Brian Hirt
 
Posts: n/a
Default failed to re-find parent key in "..." for deletion target page

I was doing some testing with tsearch2 on my dev box and I've run
across this problem.

I created the tsvector and added the trigger and then i was updating
the entire table to populate the ixdfti field. When i was done, I
was unable to vacuum the table, I get this error. Any ideas an
what's going on? I've shutdown the database and made a tar of it
incase there is additional info you need.

basement_dev=# update developer_name set developer_id = developer_id;
UPDATE 262083
basement_dev=# VACUUM FULL developer_name;
ERROR: failed to re-find parent key in
"developer_name_developer_name" for deletion target page 163
basement_dev=# \d developer_name;
Table
"public.developer_name"
Column | Type
| Modifiers
-------------------+------------------------
+-----------------------------------------------------------------------
-----
developer_name_id | integer | not null default nextval
('developer_name_developer_name_id_seq'::regclass)
developer_id | integer | not null
developer_name | character varying(255) | not null
idxfti | tsvector |
t | text |
idxfti2 | tsvector |
Indexes:
"developer_name_pkey" PRIMARY KEY, btree (developer_name_id)
"developer_name_developer_id" btree (developer_id)
"developer_name_developer_name" btree (developer_name)
Triggers:
tsvectorupdate BEFORE INSERT OR UPDATE ON developer_name FOR
EACH ROW EXECUTE PROCEDURE tsearch2('idxfti', 'developer_name')

basement_dev=# select version();
version
------------------------------------------------------------------------
----------------------------------------------------------------
PostgreSQL 8.2.4 on i386-apple-darwin8.9.1, compiled by GCC i686-
apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5341)
(1 row)



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 11:00 AM
Tom Lane
 
Posts: n/a
Default Re: failed to re-find parent key in "..." for deletion target page

Brian Hirt <bhirt@mobygames.com> writes:
> basement_dev=# VACUUM FULL developer_name;
> ERROR: failed to re-find parent key in
> "developer_name_developer_name" for deletion target page 163


Oh dear, I thought we'd fixed that.

Can you send me copies of this index file ... and preferably the
underlying table too?

You should be able to get out of it by REINDEXing, but we need to find
the cause first.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 11:01 AM
Heikki Linnakangas
 
Posts: n/a
Default Re: failed to re-find parent key in "..." for deletion targetpage

Any news on this?

Tom Lane wrote:
> Brian Hirt <bhirt@mobygames.com> writes:
>> basement_dev=# VACUUM FULL developer_name;
>> ERROR: failed to re-find parent key in
>> "developer_name_developer_name" for deletion target page 163

>
> Oh dear, I thought we'd fixed that.
>
> Can you send me copies of this index file ... and preferably the
> underlying table too?
>
> You should be able to get out of it by REINDEXing, but we need to find
> the cause first.
>
> regards, tom lane


--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-10-2008, 11:01 AM
Brian Hirt
 
Posts: n/a
Default Re: failed to re-find parent key in "..." for deletion target page

Unfortunately, I wasn't able to get Tom the requested files.

On Aug 10, 2007, at 8:11 AM, Heikki Linnakangas wrote:

> Any news on this?
>
> Tom Lane wrote:
>> Brian Hirt <bhirt@mobygames.com> writes:
>>> basement_dev=# VACUUM FULL developer_name;
>>> ERROR: failed to re-find parent key in
>>> "developer_name_developer_name" for deletion target page 163

>>
>> Oh dear, I thought we'd fixed that.
>>
>> Can you send me copies of this index file ... and preferably the
>> underlying table too?
>>
>> You should be able to get out of it by REINDEXing, but we need to
>> find
>> the cause first.
>>
>> regards, tom lane

>
> --
> Heikki Linnakangas
> EnterpriseDB http://www.enterprisedb.com



---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:44 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com