Urgent ... Accessing the Index Structure

From: "Nilesh A(dot) Phadke" <nphadke(at)csgrad(dot)cs(dot)vt(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Urgent ... Accessing the Index Structure
Date: 2000-04-18 15:34:59
Message-ID: Pine.OSF.4.21.0004181121000.18231-100000@csgrad.cs.vt.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2000-04-18 15:47:25 Re: [HACKERS] Struggles with RC1 and RPMS
Previous Message Martijn van Oosterhout 2000-04-18 14:49:46 pg_dump chews up all system memory