how to debug and use user defined functions?

Martin Kersten mk at monetdb.com
Sat Jul 6 09:47:28 CEST 2013


On 7/6/13 4:49 AM, Angelasweet 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?
 > 2013/7/5 Stefan Manegold <Stefan.Manegold at cwi.nl 
<mailto:Stefan.Manegold at cwi.nl>>
 >>
 >> We do not support that. Sorry.
 >>
 >> MonetDB is a client-server DBMS, not a linkable embedded library.
 >>
 >> Stefan
>
> Is it appropriate to a ask this question here?
>
>
> Meng
>
>
>
> 2013/7/5 Lefteris <lsidir at gmail.com <mailto:lsidir at 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 at gmail.com
>     <mailto:hlfwmqd at 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 at cwi.nl
>     <mailto:Stefan.Manegold at 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 at cwi.nl
>     <mailto:Martin.Kersten at 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 at monetdb.org <mailto:users-list at monetdb.org>
>     >> > http://mail.monetdb.org/mailman/listinfo/users-list
>     >> >
>     >>
>     >> --
>     >> | Stefan.Manegold at CWI.nl | DB Architectures (DA) |
>     >> | www.CWI.nl/~manegold/ <http://www.CWI.nl/%7Emanegold/>  |
>     Science Park 123 (L321) |
>     >> | +31 (0)20 592-4212     | 1098 XG Amsterdam  (NL) |
>     >>
>     >> _______________________________________________
>     >> users-list mailing list
>     >> users-list at monetdb.org <mailto:users-list at monetdb.org>
>     >> http://mail.monetdb.org/mailman/listinfo/users-list
>     >
>     >
>     >
>     > _______________________________________________
>     > users-list mailing list
>     > users-list at monetdb.org <mailto:users-list at monetdb.org>
>     > http://mail.monetdb.org/mailman/listinfo/users-list
>     >
>     _______________________________________________
>     users-list mailing list
>     users-list at monetdb.org <mailto:users-list at monetdb.org>
>     http://mail.monetdb.org/mailman/listinfo/users-list
>
>
>
>
> _______________________________________________
> users-list mailing list
> users-list at monetdb.org
> http://mail.monetdb.org/mailman/listinfo/users-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.monetdb.org/pipermail/users-list/attachments/20130706/ba96a25c/attachment.html>


More information about the users-list mailing list