Urgent ... Accessing the Index Structure - Mailing list pgsql-general

From Nilesh A. Phadke
Subject Urgent ... Accessing the Index Structure
Date
Msg-id Pine.OSF.4.21.0004181121000.18231-100000@csgrad.cs.vt.edu
Whole thread Raw
List pgsql-general
Hello,
 I have a table with two attributes x and y. The table is indexed on y.
Now, From a C program I want to fetch first n tuples from the table by
doing an indexscan(on index y) on the table. what should I do?

Currently I am able to do it using a cursor(using a select stmt that
forces an index scan on y) but is there any way that i can directly call
some backend functions from the C program to do the same.
Please reply ASAP.

Thanks in advance,
Nilesh.


pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: pg_dump chews up all system memory
Next
From: Lamar Owen
Date:
Subject: Re: [HACKERS] Struggles with RC1 and RPMS