| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Alice Lottini <alice_lottini(at)yahoo(dot)it> |
| Cc: | PostgreSQL Mailing List Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Integration with Access Method interface |
| Date: | 2003-04-11 14:17:10 |
| Message-ID: | 11290.1050070630@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
=?iso-8859-1?q?Alice=20Lottini?= <alice_lottini(at)yahoo(dot)it> writes:
> we're developing a C programme which needs to directly
> use the functions of the Access Methods interface.
> In particular, our programme contains a function,
> readFromPG, which directly calls functions such as
> heap_open, heap_beginscan and so on in order to
> perform a low-level retrieval of data which are to be
> made available for further elaborations.
Why?
The answer to your question is simple: you can't, because those are
internal backend operations and are just not available to client
programs. But I'm really at a loss why you think this would be a good
thing to do. What's wrong with a "SELECT ..." command ?
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-04-11 14:38:56 | Re: Question about simple function folding optimization |
| Previous Message | bkline | 2003-04-11 13:57:51 | Upgrade to RedHat 9.0 broke PostgreSQL |