Re: [libdbi-users] Lib DBI windows version

2018-12-30 Thread Simon Walter
And you too Markus. Your children should certainly be your priority. Don't feel 
bad.

A happy heathy new year to you all!

On 2018 12 31 01:37:45 UTC, Pabitra Dash  wrote:
>Thank you Simon for your info.
>Regards, 
>Pabitra 
>
>On Monday, 31 December 2018, 5:42:40 AM GMT+5:30, Markus Hoenicka
> wrote:  
> 
> 
>Hi,
>
>"dead" is relative here. It is unfortunately pretty much true that I
>was not able to put much of an effort into further development of
>libdbi, although there were a couple of bug fixes in the past couple of
>years. I don't mean to whine, but sometimes life takes unexpected
>turns, and in my case they're 6 and 3 years old now. Needless to say,
>this, and a new position with extended responsibilities, caused a shift
>of priorities that won't do my software projects any good. I'd hate to
>see libdbi die of inactivity, but it is hardly possible to sleep less
>than I did in the past couple of years just to do some extra
>programming. And I apologize if I was not able to tend to questions on
>the lists in a timely fashion.
>
>Regarding the original posters question: you can certainly use libdbi
>on Linux and just about any unixish platform. This includes Cygwin
>(http://www.cygwin.com), a library which provides a Unix-like interface
>to Windows. To the best of my knowledge there is no native Windows port
>available which would allow you to use it in native Windows
>applications. Source code is available from a git repository at
>SourceForge:
>
>https://sourceforge.net/p/libdbi/libdbi/ci/master/tree/
>
>Documentation of the dbi interface is here (the Programmer's Guide is
>what you want):
>
>http://libdbi.sourceforge.net/docs.html
>
> 
>
>regards,
>
>Markus
>
> 
>
>On 2018-12-29 03:25, Simon Walter was heard to say:
>
>Hi Pabitra,
>
>I asked a question on this list in 2015 and there has been no activity
>since then. I didn't get an answer to my question. So I assumed that
>the project is pretty dead. There is support for prepared statements.
>So I ended up using APR DBD. The documentation is alright. Though I did
>find myself digging into the source to understand a few things.
>
>I haven't used it on Windows, but the whole point of the APR is cross
>platform usage.
>
>https://apr.apache.org/docs/apr-util/1.6/group___a_p_r___util___d_b_d.html
>
>Best wishes,
>
>Simon
>
>
>On December 28, 2018 4:28:42 PM UTC, Pabitra Dash via libdbi-users
> wrote:
>Hello, Good day.I have following queries. -As libdbi provides standard
>C abstraction, Can I use it in Windows and Linux platforms?-From where
>can I get DbiXX detail documentation and source code of the
>same? Regards,Pabitra
>
>___
>libdbi-users mailing list
>libdbi-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/libdbi-users
>
>
> 
>-- 
>Markus Hoenicka
>http://www.mhoenicka.de
>AQ score 38
>  

-- 
Sent from my mobile device. Please excuse my brevity.___
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users


Re: [libdbi-users] Lib DBI windows version

2018-12-28 Thread Simon Walter
Hi Pabitra,

I asked a question on this list in 2015 and there has been no activity since 
then. I didn't get an answer to my question. So I assumed that the project is 
pretty dead. There is support for prepared statements. So I ended up using APR 
DBD. The documentation is alright. Though I did find myself digging into the 
source to understand a few things.

I haven't used it on Windows, but the whole point of the APR is cross platform 
usage.

https://apr.apache.org/docs/apr-util/1.6/group___a_p_r___util___d_b_d.html

Best wishes,

Simon


On December 28, 2018 4:28:42 PM UTC, Pabitra Dash via libdbi-users 
 wrote:
>Hello,
>Good day.I have following queries.
>-As libdbi provides standard C abstraction, Can I use it in Windows and
>Linux platforms?-From where can I get DbiXX detail documentation and
>source code of the same?
>Regards,Pabitra
___
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users


Re: [libdbi-users] prepared statements

2015-06-11 Thread Simon Walter
On 06/11/2015 06:07 PM, Alex Bligh wrote:
 
 On 11 Jun 2015, at 08:12, Simon Walter si...@gikaku.com wrote:
 
 If the application I'm writing can benefit from prepared statements, I
 would like to eventually either add that feature to libdbi or I may have
 to use something else in the future.
 
 Not much use I know, but I can confirm it doesn't support prepared
 statement currently. You might consider APR, i.e.
 
 http://apr.apache.org/docs/apr/2.0/group___a_p_r___util___d_b_d.html
 


That looks like an awful lot of nice C code. Thank you for the tip!

Looking at projects that use APR, many seem to include the entire thing
in their code base. I'm guessing that one of the drawbacks is that APR
comes with a lot of baggage so to speak.

Have you used both libdbi and the database bits of APR? Is there any
advantage to using libdbi compared to APR?

Simon

--
___
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users


[libdbi-users] prepared statements

2015-06-11 Thread Simon Walter
Hi all,

I'm new to using libdbi and C in general. I am wondering why libdbi has
no support for prepared statements.

Is it that because the way libdbi is written, a prepared statement would
not provide any benefit? Or is it just lacking that feature? If it's
just lacking the feature, are there plans to add that?

If the application I'm writing can benefit from prepared statements, I
would like to eventually either add that feature to libdbi or I may have
to use something else in the future.

I haven't taken a deep look at the libdbi code. So any insight is
appreciated.

Kind regards,

Simon

PS

If I should have sent this to the development list, please let me know.
Thanks.

--
___
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users


Re: [libdbi-users] prepared statements

2015-06-11 Thread Simon Walter
On 06/12/2015 01:07 AM, Alex Bligh wrote:
 
 On 11 Jun 2015, at 12:00, Simon Walter si...@gikaku.com wrote:
 
 Looking at projects that use APR, many seem to include the entire thing
 in their code base. I'm guessing that one of the drawbacks is that APR
 comes with a lot of baggage so to speak.
 
 You can dynamically link to an APR library.
 
 Have you used both libdbi and the database bits of APR? Is there any
 advantage to using libdbi compared to APR?
 
 I've either used one or the other. I expect you can use both but
 can't see any reason to.
 
 apr is more frequently updated, has many other functions (e.g.
 a complete memory pool manager), and works on a wider range of
 platforms I believe (including Windows).
 
 libdbi is simpler than APR to get used to, and has a smaller memory
 footprint.
 
 You should also compare the choice of backends if you care about
 that.
 

OK, that's very helpful. Thank you. I'm not sure I want to change my
code around too much until I have more tests written. It's good to know
there is another usable option.

--
___
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users