Обсуждение: Accessing a custom FileSystem (as in Mysql "Custom Engine")

Поиск
Список
Период
Сортировка

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

От
Scara Maccai
Дата:
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...



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

От
Tom Lane
Дата:
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