> 2.1) How do I efficiently access information in tables from the backend code?
> Since heap_open function needs the oid of the relation, how can I get
> those parameters for heap_open?
> Suppose that at the beginning, I only know the name of the relation,
> which functions I need to call?
You can create a RangeVar using makeRangeVar and call heap_openrv().
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
In response to
- at 2006-05-25 05:58:00 from ipig
- Re: at 2006-05-25 13:45:02 from Bruce Momjian
pgsql-hackers by date
|Next:||From: korry||Date: 2006-05-25 12:35:14|
|Subject: Re: file-locking and postmaster.pid|
|Previous:||From: Andreas Pflug||Date: 2006-05-25 11:00:56|