Guile-PG is a collection of modules for Guile allowing access to the PostgreSQL RDBMS from Scheme programs.
The low-level module ‘(database postgres)
’, originally written by Ian Grant, provides an almost one-to-one correspondence with the PostgreSQL "libpq" C library interface. The other modules build on it to provide abstractions and convenience procedures:
(database postgres-qcons) | Query Construction |
(database postgres-types) | Types Conversion |
(database postgres-col-defs) | Column Definitions |
(database postgres-resx) | Result Transforms |
(database postgres-table) | Single-Table Abstraction |
(database postgres-meta) | Introspection |
(database postgres-gxrepl) | Easy Interaction |
It is released under the GNU GPLv3+ along with a fully-indexed manual in texinfo format (i.e., the source for the online documentation).
Latest release: 0.50 (2021-12-04)
distribution now .tar.lz
If you have GNU tar, you can use "tar xf"
and it will DTRT.
If not, you can use "lzip -dc TARBALL | tar xf -"
to unpack it.
lob details bifurcated for "modern"
Guile
Guile 2.2 (and later, presumably) have ‘scm_c_make_port
’ and in
fact a whole rewrite of the ports extension mechanism. Thus,
all previous Guile-PG releases failed to build w/ Guile 2.2.
Specifically, all the large object (lob) low-level details
clashed irreconcilably.
This release of Guile-PG now handles things by configure-time detection and selection of a suitably matching implementation.
The file test/OK now includes an entry w/ a subheading of "other Guile" to show the range of supported Guile versions. More to the point, if you build w/ Guile 2.2 and encounter problems, then please report it.
NB: We haven't dipped into the Guile 3.0 waters yet. Experience reports from those more adventurous are welcome, in any case.
bootstrap/maintenance tools
upgraded:
Guile-BAUX 20211106.0154.1368008 GNU gnulib 2021-12-01 01:50:01 GNU Autoconf 2.71 GNU Automake 1.16.5 GNU texinfo 6.8 GNU Guile 2.2.7
as before:
(none)
Check out the project page on savannah (nongnu).
If you would like to support development of Guile-PG (and other Free Software), please visit my patronage page.
Copyright (C) 2010-2021 Thien-Thi Nguyen
Updated: 2021-12-05 01:17 UTC (source: NEWS-excerpt, GNUmakefile)