Skip site navigation (1) Skip section navigation (2)

Print b-tree tuples

From: Samuel Vogel <s(at)muel-vogel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Print b-tree tuples
Date: 2013-01-03 16:48:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

I'm trying to print out the tuples in the b-tree nodes for analysis, but 
when iterate over more than the first entry of the tuples (scanKey++), I 
strangely get the error below on query execution:
ERROR:  relation "simpletest" does not exist
LINE 1: SELECT * FROM simpletest WHERE id = 50;

Any help with reviewing my my small attached patch would be greatly 

Samuel Vogel

Attachment: print-btree-tuples.patch
Description: text/plain (2.1 KB)


pgsql-hackers by date

Next:From: Robert HaasDate: 2013-01-03 17:27:45
Subject: Re: Re: Proposal: Store "timestamptz" of database creation on "pg_database"
Previous:From: Greg StarkDate: 2013-01-03 16:38:49
Subject: Re: Proposal: Store "timestamptz" of database creation on "pg_database"

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group