Accessing a custom FileSystem (as in Mysql "Custom Engine")

Started by Leonardo Francalanciover 19 years ago2 messagesgeneral
Jump to latest
#1Leonardo Francalanci
m_lists@yahoo.it

Hi,

I have a custom "database" (a very fast select/slow insert db) written
in c/c++.
I can access it with mysql writing a "Custom Engine". That is pretty
cool because now all my "custom db" tables can be joined with tables in
mysql's format.
I only need read access to my custom table format db. Would read access
be possible with the "C-Language Functions - Returning Sets" API? I
would like to read my custom tables and join them with postgres tables...

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Leonardo Francalanci (#1)
Re: Accessing a custom FileSystem (as in Mysql "Custom Engine")

Scara Maccai <m_lists@yahoo.it> writes:

I only need read access to my custom table format db. Would read access
be possible with the "C-Language Functions - Returning Sets" API?

Probably. Take a look at contrib/dblink for ideas.

regards, tom lane