I think your best chance to find an answer to your question is here
http://www.monetdb.org/Documentation/Manuals/SQLreference/Programming/MAPI
please read the available documentation for MonetDB. I hope this shows
you the way to achieve your task.
On Sat, Jul 6, 2013 at 4:49 AM, Angelasweet <hlfwmqd@gmail.com> wrote:
> Dear Lefteris,
>
> Thank you for your patience and suggestions, I don't want this channel to
> teach me how to programming here,
>
> I just want to resolve a small question that *****how or if i can******
> call a user defined function as a C API?
>
> Is it appropriate to a ask this question here?
>
>
> Meng
>
>
>
> 2013/7/5 Lefteris <lsidir@gmail.com>
>>
>> Dear Meng,
>>
>> it seems to me that you are trying to do something that it might not
>> part of your current skills. I suggest you read some manuals on how
>> programs are interlinked, what are headers, how to include them, and
>> so on.
>>
>> The purpose of the MonetDB user-list is not to teach programming. In
>> order for you to be successful in such complicated matters, as hacking
>> the MonetDB code, you will have to experiment with it and gain some
>> experience.
>>
>> lefteris
>>
>>
>> On Fri, Jul 5, 2013 at 11:39 AM, hlfwm hlfwm <hlfwmqd@gmail.com> wrote:
>> > if not support, may i know how to call my defined function not in sql
>> > but as
>> > a C api?
>> >
>> >
>> >
>> >
>> > 2013/7/5 Stefan Manegold <Stefan.Manegold@cwi.nl>
>> >>
>> >> We do not support that. Sorry.
>> >>
>> >> MonetDB is a client-server DBMS, not a linkable embedded library.
>> >>
>> >> Stefan
>> >>
>> >> ----- Original Message -----
>> >> > I dont have a choice, my work is to use monetdb functions as C API.
>> >> >
>> >> > Could you tell me how to use the embedded version,please?
>> >> >
>> >> > Thanks very much!
>> >> > Meng
>> >> >
>> >> >
>> >> > 2013/7/5 Martin Kersten <Martin.Kersten@cwi.nl>
>> >> >
>> >> > > Hi
>> >> > > You want to use an embedded version of MonetDB?
>> >> > > That calls for quite some effort.
>> >> > >
>> >> > > regards, Martin
>> >> > >
>> >> > > On 7/5/13 4:49 AM, hlfwm hlfwm wrote:
>> >> > >
>> >> > >> Hi everyone,
>> >> > >>
>> >> > >> I want to know how to call my user defined function binarycopy()
>> >> > >> in MonetDB/sql/backends/monet5/**UDF/svom.c in another C program?
>> >> > >>
>> >> > >> I dont want to use my UDF i sql client but want to use as a C API.
>> >> > >>
>> >> > >>
>> >> > >> Thanks!
>> >> > >> Meng
>> >> > >>
>> >> > >>
>> >> > >>
>> >> >
>> >> > _______________________________________________
>> >> > users-list mailing list
>> >> > users-list@monetdb.org
>> >> > http://mail.monetdb.org/mailman/listinfo/users-list
>> >> >
>> >>
>> >> --
>> >> | Stefan.Manegold@CWI.nl | DB Architectures (DA) |
>> >> | www.CWI.nl/~manegold/ | Science Park 123 (L321) |
>> >> | +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) |
>> >>
>> >> _______________________________________________
>> >> users-list mailing list
>> >> users-list@monetdb.org
>> >> http://mail.monetdb.org/mailman/listinfo/users-list
>> >
>> >
>> >
>> > _______________________________________________
>> > users-list mailing list
>> > users-list@monetdb.org
>> > http://mail.monetdb.org/mailman/listinfo/users-list
>> >
>> _______________________________________________
>> users-list mailing list
>> users-list@monetdb.org
>> http://mail.monetdb.org/mailman/listinfo/users-list
>
>
>
> _______________________________________________
> users-list mailing list
> users-list@monetdb.org
> http://mail.monetdb.org/mailman/listinfo/users-list
>
_______________________________________________
users-list mailing list
users-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/users-list