* Re: PATCH [0/12]: Guile-DBI and Guile-DBD-Postgres
@ 2008-09-19 15:07 Mike Gran
0 siblings, 0 replies; 8+ messages in thread
From: Mike Gran @ 2008-09-19 15:07 UTC (permalink / raw)
To: linasvepstas; +Cc: Guile User Mailing List
----- Original Message ----
> From: Linas Vepstas <linasvepstas@gmail.com>
>
> Hi,
>
> Below follows a series of 12 patches against Guile-DBI and DBD-Postgres.
>
Linus, thank you for doing this.
-Mike Gran
^ permalink raw reply [flat|nested] 8+ messages in thread
* PATCH [0/12]: Guile-DBI and Guile-DBD-Postgres
@ 2008-09-19 13:45 Linas Vepstas
2008-09-19 23:00 ` Neil Jerram
0 siblings, 1 reply; 8+ messages in thread
From: Linas Vepstas @ 2008-09-19 13:45 UTC (permalink / raw)
To: Maurizio Boriani; +Cc: Guile User Mailing List
Hi,
Below follows a series of 12 patches against Guile-DBI and DBD-Postgres.
Guile DBI is a wrapper for accessing SQL databases.
https://gna.org/projects/guile-dbi/
I'm posting here -- although there used to be guile-dbi-user and guile-dbi-devel
mailing lists, these had no subscribers, and quickly filled with spam, as
evidenced by their mail archives. I've applied to get an account on gna.org
to post the patches there, but its been a week, and my account application
still hasn't gone through :-( It also appears that the original maintainer,
Maurizio Boriani, is not responding to email. Bummer.
The patches fix a variety of different crashes and hangs, and also fix
problems with missing data (e.g. for a query with N records, only N-1
were being returned -- bad news when N=1)
--linas
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: PATCH [0/12]: Guile-DBI and Guile-DBD-Postgres
2008-09-19 13:45 Linas Vepstas
@ 2008-09-19 23:00 ` Neil Jerram
2008-09-19 23:22 ` Greg Troxel
2008-09-19 23:24 ` Greg Troxel
0 siblings, 2 replies; 8+ messages in thread
From: Neil Jerram @ 2008-09-19 23:00 UTC (permalink / raw)
To: linasvepstas, Maurizio Boriani; +Cc: Guile User Mailing List
2008/9/19 Linas Vepstas <linasvepstas@gmail.com>:
>
> I'm posting here -- although there used to be guile-dbi-user and guile-dbi-devel
> mailing lists, these had no subscribers, and quickly filled with spam, as
> evidenced by their mail archives. I've applied to get an account on gna.org
> to post the patches there, but its been a week, and my account application
> still hasn't gone through :-( It also appears that the original maintainer,
> Maurizio Boriani, is not responding to email. Bummer.
Can anyone provide firm evidence regarding whether guile-dbi is now
maintained or unmaintained?
If it is unmaintained, I guess we could consider merging it into the
core Guile distribution. Any thoughts on that?
Also, can anyone provide a summary of all the DB-related libraries for
Guile? I believe there's guile-pg, and guile-sqlite, but (i) there
could be others I've forgotten, and (ii) it would be great if someone
could summarize how they differ / overlap / compare with each other.
> The patches fix a variety of different crashes and hangs, and also fix
> problems with missing data (e.g. for a query with N records, only N-1
> were being returned -- bad news when N=1)
Cool, thanks. If it turns out to make sense to pull guile-dbi into
core Guile, I guess we'll review and incorporate these patches at that
time.
Regards,
Neil
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: PATCH [0/12]: Guile-DBI and Guile-DBD-Postgres
2008-09-19 23:00 ` Neil Jerram
@ 2008-09-19 23:22 ` Greg Troxel
2008-09-19 23:24 ` Greg Troxel
1 sibling, 0 replies; 8+ messages in thread
From: Greg Troxel @ 2008-09-19 23:22 UTC (permalink / raw)
To: Neil Jerram; +Cc: Guile User Mailing List, Maurizio Boriani
[-- Attachment #1: Type: text/plain, Size: 839 bytes --]
Also, can anyone provide a summary of all the DB-related libraries for
Guile? I believe there's guile-pg, and guile-sqlite, but (i) there
could be others I've forgotten, and (ii) it would be great if someone
could summarize how they differ / overlap / compare with each other.
I am familiar with guile-pg. It used to be on sourceforge, and was
unmaintained, and then ttn took it over and has done a lot of work on
it. Last I checked guile-pg only supported guile through 1.6 due to it
using hte load-module-from-.so feature removed in 1.8, but ttn has said
that he'd take patches to make guile-pg work with 1.8+.
There is ttn's guile-gdbm: http://www.gnuvola.org/software/guile-gdbm/
There is no guile-dbi package in pkgsrc.
I dimly remember a pg-guile which was BSD licensed but have not heard
anything about it in years.
[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: PATCH [0/12]: Guile-DBI and Guile-DBD-Postgres
2008-09-19 23:00 ` Neil Jerram
2008-09-19 23:22 ` Greg Troxel
@ 2008-09-19 23:24 ` Greg Troxel
2008-09-20 0:19 ` Linas Vepstas
1 sibling, 1 reply; 8+ messages in thread
From: Greg Troxel @ 2008-09-19 23:24 UTC (permalink / raw)
To: Neil Jerram; +Cc: Guile User Mailing List, Maurizio Boriani
[-- Attachment #1: Type: text/plain, Size: 705 bytes --]
Also, can anyone provide a summary of all the DB-related libraries for
Guile? I believe there's guile-pg, and guile-sqlite, but (i) there
could be others I've forgotten, and (ii) it would be great if someone
could summarize how they differ / overlap / compare with each other.
guile-pg has really nice support for converting postgresql types to and
From scheme types, and you can register custom converters. So it's much
beyond just being able to run query strings and get string answers. I
have the impression that it's implementation is tied to pg.
IMHO the right thing would be to use the type mapping part of guile-pg
with a DBI sort of back end to go to various databases.
[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: PATCH [0/12]: Guile-DBI and Guile-DBD-Postgres
2008-09-19 23:24 ` Greg Troxel
@ 2008-09-20 0:19 ` Linas Vepstas
2008-09-20 13:25 ` Greg Troxel
0 siblings, 1 reply; 8+ messages in thread
From: Linas Vepstas @ 2008-09-20 0:19 UTC (permalink / raw)
To: Greg Troxel; +Cc: Maurizio Boriani, Guile User Mailing List, Neil Jerram
2008/9/19 Greg Troxel <gdt@ir.bbn.com>:
>
> guile-pg has really nice support for converting postgresql types to and
> From scheme types,
? I would be surprised if any database interface returned a
string, when the database column was declared an int,
so I don't quite understand this ...
> and you can register custom converters.
This could be interesting. Different databases have all
sorts of crazy column formats (23 different types of dates,
money amounts, "binary large objects" etc), and clearly
guile-dbi doesn't have this. Its a fairly small/low-brow
package.
> have the impression that it's implementation is tied to pg.
I didn't even look at guile-pg, because I know that some of
the users of my code will insist on mysql. So I had to be
agnostic.
--linas
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: PATCH [0/12]: Guile-DBI and Guile-DBD-Postgres
2008-09-20 0:19 ` Linas Vepstas
@ 2008-09-20 13:25 ` Greg Troxel
2008-09-20 15:43 ` Linas Vepstas
0 siblings, 1 reply; 8+ messages in thread
From: Greg Troxel @ 2008-09-20 13:25 UTC (permalink / raw)
To: linasvepstas; +Cc: Maurizio Boriani, Guile User Mailing List, Neil Jerram
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
? I would be surprised if any database interface returned a
string, when the database column was declared an int,
so I don't quite understand this ...
That would be the SQL way :-) I haven't looked at guile-dbi; perhaps it
has the critical conversions already.
guile-pg does support pg large objects.
[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: PATCH [0/12]: Guile-DBI and Guile-DBD-Postgres
2008-09-20 13:25 ` Greg Troxel
@ 2008-09-20 15:43 ` Linas Vepstas
0 siblings, 0 replies; 8+ messages in thread
From: Linas Vepstas @ 2008-09-20 15:43 UTC (permalink / raw)
To: Greg Troxel; +Cc: Maurizio Boriani, Guile User Mailing List, Neil Jerram
2008/9/20 Greg Troxel <gdt@ir.bbn.com>:
> ? I would be surprised if any database interface returned a
> string, when the database column was declared an int,
> so I don't quite understand this ...
>
> That would be the SQL way :-) I haven't looked at guile-dbi; perhaps it
> has the critical conversions already.
Yes, it does, in the DBD layer. One of my patches fixed
a faulty float pt conversion.
--linas
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-09-20 15:43 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-19 15:07 PATCH [0/12]: Guile-DBI and Guile-DBD-Postgres Mike Gran
-- strict thread matches above, loose matches on Subject: below --
2008-09-19 13:45 Linas Vepstas
2008-09-19 23:00 ` Neil Jerram
2008-09-19 23:22 ` Greg Troxel
2008-09-19 23:24 ` Greg Troxel
2008-09-20 0:19 ` Linas Vepstas
2008-09-20 13:25 ` Greg Troxel
2008-09-20 15:43 ` Linas Vepstas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).